vesting_balance_evaluator.cpp: Add some logging #312

This commit is contained in:
theoreticalbts 2015-09-16 11:45:21 -04:00
parent c6cb743588
commit ec030ee46c

View file

@ -100,7 +100,7 @@ void_result vesting_balance_withdraw_evaluator::do_evaluate( const vesting_balan
const vesting_balance_object& vbo = op.vesting_balance( d );
FC_ASSERT( op.owner == vbo.owner );
FC_ASSERT( vbo.is_withdraw_allowed( now, op.amount ) );
FC_ASSERT( vbo.is_withdraw_allowed( now, op.amount ), "", ("now", now)("op", op)("vbo", vbo) );
assert( op.amount <= vbo.balance ); // is_withdraw_allowed should fail before this check is reached
/* const account_object& owner_account = */ op.owner( d );