aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwarptangent <warptangent@tutanota.com>2016-02-08 08:19:24 -0800
committerwarptangent <warptangent@tutanota.com>2016-02-08 09:28:25 -0800
commite298b14a55c7f5792481a488104e6358127b6aa3 (patch)
tree498d7056b539a76605d40c952002c336187a42fd
parentblockchain_import: Get hard fork version from HardFork (diff)
downloadmonero-e298b14a55c7f5792481a488104e6358127b6aa3.tar.xz
Blockchain: Update comments on removing block
-rw-r--r--src/cryptonote_core/blockchain.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index 6fe998260..f9247ae27 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -461,6 +461,11 @@ block Blockchain::pop_block_from_blockchain()
{
cryptonote::tx_verification_context tvc = AUTO_VAL_INIT(tvc);
+ // FIXME: HardFork
+ // Besides the below, popping a block should also remove the last entry
+ // in hf_versions.
+ //
+ // FIXME: HardFork
// This is not quite correct, as we really want to add the txes
// to the pool based on the version determined after all blocks
// are popped.