blockchain_db: pass hard fork object as a simple pointer

This commit is contained in:
moneromooo-monero 2016-02-08 20:56:31 +00:00
parent a333c42cde
commit 8649b9f1ef
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}