aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/blockchain_db.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-08 20:56:31 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-08 20:56:31 +0000
commit8649b9f1ef53375b40ac4a489bb8e56b82bb968c (patch)
tree2b6ffb25ef7f14b55f7d382f65140100e54bff82 /src/blockchain_db/blockchain_db.cpp
parentcore_tests: add tests for hard fork behaviors (MRL-0004) (diff)
downloadmonero-8649b9f1ef53375b40ac4a489bb8e56b82bb968c.tar.xz
blockchain_db: pass hard fork object as a simple pointer
Diffstat (limited to '')
-rw-r--r--src/blockchain_db/blockchain_db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/blockchain_db.cpp b/src/blockchain_db/blockchain_db.cpp
index 270b5399e..68bef3892 100644
--- a/src/blockchain_db/blockchain_db.cpp
+++ b/src/blockchain_db/blockchain_db.cpp
@@ -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;
}