Skip to content

Commit

Permalink
add missing hardfork
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsha256 committed Aug 30, 2015
1 parent 20b3065 commit 0d113c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libraries/blockchain/balance_operations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,11 @@ namespace bts { namespace blockchain {

FC_ASSERT( amount.asset_id == 0 );
FC_ASSERT( this->count > 0 );
FC_ASSERT( this->count <= 30 );

if ( eval_state.pending_state()->get_head_block_num() > PLS_V0_3_1_FORK_BLOCK_NUM )
FC_ASSERT( this->count <= 30 );
else
FC_ASSERT( this->count <= 100 );

FC_ASSERT( message.size() < 100 );

Expand Down

0 comments on commit 0d113c7

Please sign in to comment.