mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-18 05:05:15 +01:00
* fix: add proof recovery mechanism for failed wallet operations This commit introduces a new `try_proof_operation` helper that wraps wallet operations (swap, melt) with automatic proof recovery in case of network or mint failures. When an operation fails, the wallet now attempts to recover by marking proofs as unspent and swapping them to prevent loss of funds. Fixes #1180