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:
restoreinserts 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]).