Skip to content

Commit

Permalink
Check ratification_deadline in escrow_approve_evaluator
Browse files Browse the repository at this point in the history
  • Loading branch information
abitmore committed Sep 10, 2016
1 parent f31b57a commit fe1b0c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/chain/steem_evaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ void escrow_approve_evaluator::do_apply( const escrow_approve_operation& o )

FC_ASSERT( escrow.to == o.to, "op 'to' does not match escrow 'to'" );
FC_ASSERT( escrow.agent == o.agent, "op 'agent' does not match escrow 'agent'" );
FC_ASSERT( escrow.ratification_deadline >= db().head_block_time(), "escrow ratification deadline is before head block time" );

bool reject_escrow = !o.approve;

Expand Down

0 comments on commit fe1b0c1

Please sign in to comment.