aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-10-26 17:53:49 +0200
committerRiccardo Spagni <ric@spagni.net>2015-10-26 17:53:52 +0200
commit33e7d4b35c0e6159934e6cde62bd5c86973791e5 (patch)
tree687f1d48cd6e6dcba3b6c3445b5ddabecdf89a6f /src/cryptonote_core/blockchain.cpp
parentMerge pull request #437 (diff)
parenthardfork: switch voting to block minor version (diff)
downloadmonero-33e7d4b35c0e6159934e6cde62bd5c86973791e5.tar.xz
Merge pull request #438
6376627 hardfork: switch voting to block minor version (moneromooo-monero) 55178ae unit_tests: remove leftover debug traces in hardfork test (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core/blockchain.cpp')
-rw-r--r--src/cryptonote_core/blockchain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index c38b58841..306530f02 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -1033,8 +1033,8 @@ bool Blockchain::create_block_template(block& b, const account_public_address& m
CRITICAL_REGION_BEGIN(m_blockchain_lock);
height = m_db->height();
- b.major_version = m_hardfork->get_ideal_version();
- b.minor_version = 0;
+ b.major_version = m_hardfork->get_current_version();
+ b.minor_version = m_hardfork->get_ideal_version();
b.prev_id = get_tail_id();
b.timestamp = time(NULL);