Hotfix - remove redundant deposit sidechain address recreation
This commit is contained in:
parent
e7099fbc5c
commit
5030c113bc
1 changed files with 21 additions and 19 deletions
|
|
@ -1251,6 +1251,7 @@ void sidechain_net_handler_bitcoin::process_sidechain_addresses() {
|
|||
|
||||
btc_one_or_weighted_multisig_address addr(usr_pubkey, pubkeys);
|
||||
|
||||
if (addr.get_address() != sao.deposit_address) {
|
||||
sidechain_address_update_operation op;
|
||||
op.payer = plugin.get_current_son_object().son_account;
|
||||
op.sidechain_address_id = sao.id;
|
||||
|
|
@ -1272,6 +1273,7 @@ void sidechain_net_handler_bitcoin::process_sidechain_addresses() {
|
|||
elog("Sending proposal for deposit sidechain transaction create operation failed with exception ${e}", ("e", e.what()));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue