Hotfix - remove importing sidechain addresses
This commit is contained in:
parent
453772d59f
commit
e7099fbc5c
1 changed files with 0 additions and 8 deletions
|
|
@ -1784,14 +1784,6 @@ void sidechain_net_handler_bitcoin::on_changed_objects_cb(const vector<object_id
|
|||
}
|
||||
}
|
||||
}
|
||||
if (id.is<sidechain_address_object>()) {
|
||||
const auto &sai = database.get_index_type<sidechain_address_index>().indices().get<by_id>();
|
||||
auto sao = sai.find(id);
|
||||
if (sao != sai.end()) {
|
||||
bitcoin_client->importaddress(sao->deposit_address);
|
||||
bitcoin_client->importaddress(sao->withdraw_address);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue