Use reserve_proofs instead of update_proofs_state #1726

Open
opened 2026-03-11 06:34:38 +00:00 by jack-keychat · 0 comments
jack-keychat commented 2026-03-11 06:34:38 +00:00 (Migrated from github.com)

"update_proofs_state" do not update operation_id,
Just like below should use reserve_proofs:
cdk/crates/cdk/src/wallet/send/saga/mod.rs line 278
"update_proofs_state(proof_ys.clone(), State::Reserved)" change to "reserve_proofs(proof_ys.clone(), &self.state_data.operation_id)".
Also in melt and swap.

"update_proofs_state" do not update operation_id, Just like below should use reserve_proofs: cdk/crates/cdk/src/wallet/send/saga/mod.rs line 278 "update_proofs_state(proof_ys.clone(), State::Reserved)" change to "reserve_proofs(proof_ys.clone(), &self.state_data.operation_id)". Also in melt and swap.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cashubtc/cdk#1726
No description provided.