Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

Commit

Permalink
Reject bad cover operations again
Browse files Browse the repository at this point in the history
  • Loading branch information
vikramrajkumar committed May 18, 2015
1 parent 825aa72 commit 9145b63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Expand Up @@ -34,6 +34,7 @@
#define BTS_V0_8_0_FORK_BLOCK_NUM 2113000
#define BTS_V0_9_0_FORK_BLOCK_NUM 2460000
#define BTS_V0_9_1_FORK_BLOCK_NUM BTS_V0_9_0_FORK_BLOCK_NUM
#define BTS_V0_9_2_FORK_BLOCK_NUM 2580000

#define BTS_FORK_TO_UNIX_TIME_LIST ((BTS_V0_4_0_FORK_BLOCK_NUM, "0.4.0", 1408064036)) \
((BTS_V0_4_9_FORK_2_BLOCK_NUM, "0.4.9", 1409193626)) \
Expand Down
6 changes: 1 addition & 5 deletions libraries/blockchain/transaction_evaluation_state.cpp
Expand Up @@ -118,11 +118,7 @@ namespace bts { namespace blockchain {
}
}

#ifndef WIN32
#warning [SOFTFORK] Remove this check after BTS_V0_9_0_FORK_BLOCK_NUM has passed
#endif
if( pending_state()->get_head_block_num() >= BTS_V0_7_0_FORK_BLOCK_NUM
&& pending_state()->get_head_block_num() < BTS_V0_9_0_FORK_BLOCK_NUM )
if( pending_state()->get_head_block_num() >= BTS_V0_9_2_FORK_BLOCK_NUM )
{
for( const auto& op : trx.operations )
{
Expand Down

0 comments on commit 9145b63

Please sign in to comment.