From 5b4c6f86788b744b7171df61ec622a0a6ef61880 Mon Sep 17 00:00:00 2001 From: arkpar Date: Wed, 8 Jul 2015 21:21:32 +0200 Subject: [PATCH] fixed reported sync protocol version --- libethereum/BlockChainSync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethereum/BlockChainSync.cpp b/libethereum/BlockChainSync.cpp index 5249c41e0..6aede0c16 100644 --- a/libethereum/BlockChainSync.cpp +++ b/libethereum/BlockChainSync.cpp @@ -1170,9 +1170,9 @@ SyncStatus PV61Sync::status() const { RecursiveGuard l(x_sync); SyncStatus res = PV60Sync::status(); + res.protocolVersion = 61; if (m_state == SyncState::Hashes && isPV61Syncing()) { - res.protocolVersion = 61; res.hashesReceived = 0; for (auto const& d : m_readyChainMap) res.hashesReceived += d.second.size();