Blockchain: Update comments on removing block

This commit is contained in:
warptangent 2016-02-08 08:19:24 -08:00
parent b368e29f67
commit e298b14a55
No known key found for this signature in database
GPG Key ID: 0E490BEBFBE4E92D

View File

@ -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.