1
0
Fork 0
forked from lthn/blockchain

fixed bug with locking assets for ionic swap

This commit is contained in:
cryptozoidberg 2023-10-05 17:16:04 +02:00
parent d7a1b6267e
commit 816022eb9d
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -5364,8 +5364,8 @@ bool wallet2::create_ionic_swap_proposal(const wallet_public::ionic_swap_proposa
build_ionic_swap_template(proposal_details, destination_addr, proposal, selected_transfers_for_template);
const uint32_t mask_to_mark_escrow_template_locked_transfers = WALLET_TRANSFER_DETAIL_FLAG_BLOCKED | WALLET_TRANSFER_DETAIL_FLAG_ESCROW_PROPOSAL_RESERVATION;
mark_transfers_with_flag(selected_transfers_for_template, mask_to_mark_escrow_template_locked_transfers, "preparing ionic_swap");
//const uint32_t mask_to_mark_escrow_template_locked_transfers = WALLET_TRANSFER_DETAIL_FLAG_BLOCKED | WALLET_TRANSFER_DETAIL_FLAG_ESCROW_PROPOSAL_RESERVATION;
//mark_transfers_with_flag(selected_transfers_for_template, mask_to_mark_escrow_template_locked_transfers, "preparing ionic_swap");
return true;
}
//----------------------------------------------------------------------------------------------------