remove mint_info pubkey (#289)

This commit is contained in:
callebtc
2023-07-24 21:27:45 +02:00
committed by GitHub
parent 0b2468914d
commit 27bc2bda06

View File

@@ -777,7 +777,6 @@ class Wallet(LedgerAPI):
Determinstically generates two secrets (one as the secret message,
one as the blinding factor).
"""
assert self.mint_info.pubkey, "Mint info not loaded yet."
assert self.bip32, "BIP32 not initialized yet."
# integer keyset id modulo max number of bip32 child keys
keyest_id = int.from_bytes(base64.b64decode(self.keyset_id), "big") % (