mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-23 03:34:19 +01:00
Fix Tokenv4 handling of base64 keysets (#575)
* wip: handle tokenv4 if the keyset is base64 * wip * Tokens now dataclasses * Deserialize DLEQ from string * add tokenv3/v4 base64 keyset ID tests * fix cli
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
from ...core.base import TokenV4
|
||||
from ...core.base import Token
|
||||
from ...wallet.crud import get_keysets
|
||||
|
||||
|
||||
async def verify_mints(wallet, tokenObj: TokenV4):
|
||||
async def verify_mints(wallet, tokenObj: Token):
|
||||
# verify mints
|
||||
mint = tokenObj.mint
|
||||
mint_keysets = await get_keysets(mint_url=mint, db=wallet.db)
|
||||
|
||||
Reference in New Issue
Block a user