github cashubtc/cdk v0.18.5

42 minutes ago

0.18.5

Summary

Version 0.18.5 fixes wallet restore overwriting the state of proofs the wallet already holds, which could make reserved or pending proofs spendable again. The wallet also verifies keysets against their IDs when loading mint metadata.

Fixed

  • cdk: restore inserts only proofs the wallet does not already have, preserving the state and operation ownership of stored proofs; previously an unclaimed sent token or a prepared send became spendable again after a restore. Pending proofs not owned by an operation are released when the mint reports them unspent. Restore totals still count every proof found, including those already stored (#2813) ([amartya1523]).
  • cdk: The wallet selects the requested keyset by ID and verifies its keys against the mint's metadata, including when loading cached keys. It refetches invalid cached keysets and rejects conflicting keys for the same ID ([thesimplekid]).

Don't miss a new cdk release

NewReleases is sending notifications on new releases.