diff --git a/cashu/wallet/wallet.py b/cashu/wallet/wallet.py index 79c4cdc3..1401b22d 100644 --- a/cashu/wallet/wallet.py +++ b/cashu/wallet/wallet.py @@ -454,6 +454,7 @@ async def get_quote_ephemeral_keypair(self) -> Optional[Tuple[str, str]]: await self.load_mint_info() if self.mint_info.supports_mint_quote_signature(): privkey = PrivateKey() + assert privkey.pubkey pubkey = privkey.pubkey.serialize(True).hex() return privkey.serialize(), pubkey else: