Clang formatted

This commit is contained in:
moss9001 2021-11-26 19:24:19 +02:00
parent 25866711ca
commit d0a54c48a0
2 changed files with 32 additions and 33 deletions

View file

@ -1806,7 +1806,7 @@ void sidechain_net_handler_bitcoin::handle_event(const std::string &event_data)
auto vins = extract_info_from_block(block); auto vins = extract_info_from_block(block);
scoped_lock interlock(event_handler_mutex); scoped_lock interlock(event_handler_mutex);
const auto & sidechain_addresses_idx = database.get_index_type<sidechain_address_index>().indices().get<by_sidechain_and_deposit_address_and_expires>(); const auto &sidechain_addresses_idx = database.get_index_type<sidechain_address_index>().indices().get<by_sidechain_and_deposit_address_and_expires>();
for (const auto &v : vins) { for (const auto &v : vins) {
// !!! EXTRACT DEPOSIT ADDRESS FROM SIDECHAIN ADDRESS OBJECT // !!! EXTRACT DEPOSIT ADDRESS FROM SIDECHAIN ADDRESS OBJECT
@ -1835,7 +1835,6 @@ void sidechain_net_handler_bitcoin::handle_event(const std::string &event_data)
sed.peerplays_asset = asset(sed.sidechain_amount * btc_price.base.amount / btc_price.quote.amount); sed.peerplays_asset = asset(sed.sidechain_amount * btc_price.base.amount / btc_price.quote.amount);
sidechain_event_data_received(sed); sidechain_event_data_received(sed);
} }
} }
std::string sidechain_net_handler_bitcoin::get_redeemscript_for_userdeposit(const std::string &user_address) { std::string sidechain_net_handler_bitcoin::get_redeemscript_for_userdeposit(const std::string &user_address) {