blockchain_db: pass hard fork object as a simple pointer
This commit is contained in:
@@ -139,7 +139,7 @@ uint64_t BlockchainDB::add_block( const block& blk
|
||||
return prev_height;
|
||||
}
|
||||
|
||||
void BlockchainDB::set_hard_fork(HardFork*& hf)
|
||||
void BlockchainDB::set_hard_fork(HardFork* hf)
|
||||
{
|
||||
m_hardfork = hf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user