Skip to content

Commit

Permalink
Update cashu/wallet/wallet.py
Browse files Browse the repository at this point in the history
Co-authored-by: callebtc <[email protected]>
  • Loading branch information
prusnak and callebtc authored Oct 1, 2024
1 parent 8773688 commit 06a9426
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cashu/wallet/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,9 @@ async def load_proofs(self, reload: bool = False, all_keysets=False) -> None:
for keyset_id in self.keysets:
proofs = await get_proofs(db=self.db, id=keyset_id, conn=conn)
self.proofs.extend(proofs)
proofs_str = ' '.join([f"{k.id} ({k.unit})" for k in self.keysets.values()])
logger.trace(f"Proofs loaded for keysets: {proofs_str}")
keysets_str = ' '.join([f"{k.id} ({k.unit})" for k in self.keysets.values()])
logger.trace(f"Proofs loaded for keysets: {keysets_str}")


async def load_keysets_from_db(
self, url: Union[str, None] = "", unit: Union[str, None] = ""
Expand Down

0 comments on commit 06a9426

Please sign in to comment.