diff --git a/libraries/plugins/peerplays_sidechain/sidechain_net_handler_bitcoin.cpp b/libraries/plugins/peerplays_sidechain/sidechain_net_handler_bitcoin.cpp index cd758d70..56161f77 100644 --- a/libraries/plugins/peerplays_sidechain/sidechain_net_handler_bitcoin.cpp +++ b/libraries/plugins/peerplays_sidechain/sidechain_net_handler_bitcoin.cpp @@ -1136,6 +1136,10 @@ void sidechain_net_handler_bitcoin::process_primary_wallet() { bool sidechain_net_handler_bitcoin::process_deposit(const son_wallet_deposit_object &swdo) { + if (proposal_exists(chain::operation::tag::value, swdo.id)) { + return false; + } + std::string tx_str = create_deposit_transaction(swdo); if (!tx_str.empty()) { @@ -1171,6 +1175,10 @@ bool sidechain_net_handler_bitcoin::process_deposit(const son_wallet_deposit_obj bool sidechain_net_handler_bitcoin::process_withdrawal(const son_wallet_withdraw_object &swwo) { + if (proposal_exists(chain::operation::tag::value, swwo.id)) { + return false; + } + std::string tx_str = create_withdrawal_transaction(swwo); if (!tx_str.empty()) {