From ec030ee46cffa4b1f7165cfa4a058c10d8ed37ae Mon Sep 17 00:00:00 2001 From: theoreticalbts Date: Wed, 16 Sep 2015 11:45:21 -0400 Subject: [PATCH] vesting_balance_evaluator.cpp: Add some logging #312 --- libraries/chain/vesting_balance_evaluator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/chain/vesting_balance_evaluator.cpp b/libraries/chain/vesting_balance_evaluator.cpp index 48bc8492..41780db9 100644 --- a/libraries/chain/vesting_balance_evaluator.cpp +++ b/libraries/chain/vesting_balance_evaluator.cpp @@ -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 );