forked from lthn/blockchain
fixed api
This commit is contained in:
parent
d230ceaeb0
commit
2822fa521e
1 changed files with 3 additions and 4 deletions
|
|
@ -416,14 +416,13 @@ private:
|
|||
return false;
|
||||
}
|
||||
|
||||
currency::block_extended_info bei = AUTO_VAL_INIT(bei);
|
||||
bool r = m_srv.get_payload_object().get_core().get_blockchain_storage().get_block_extended_info_by_hash(block_hash, bei);
|
||||
currency::block_rpc_extended_info bei = AUTO_VAL_INIT(bei);
|
||||
bool r = m_srv.get_payload_object().get_core().get_blockchain_storage().get_main_block_rpc_details(block_hash, bei);
|
||||
|
||||
if (r)
|
||||
{
|
||||
// currency::block& block = bei.bl;
|
||||
LOG_PRINT_GREEN("------------------ block_id: " << get_block_hash(bei.bl) << " ------------------" << ENDL << epee::serialization::store_t_to_json(bei) , LOG_LEVEL_0);
|
||||
m_srv.get_payload_object().get_core().get_blockchain_storage().calc_tx_cummulative_blob(bei.bl);
|
||||
LOG_PRINT_GREEN("------------------ block_id: " << bei.id << " ------------------" << ENDL << epee::serialization::store_t_to_json(bei) , LOG_LEVEL_0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue