Fixed spelling issue
This commit is contained in:
parent
d5d4fdd6d3
commit
61fa3918ef
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ void_result vesting_balance_withdraw_evaluator::do_evaluate( const vesting_balan
|
||||||
|
|
||||||
const vesting_balance_object& vbo = op.vesting_balance( d );
|
const vesting_balance_object& vbo = op.vesting_balance( d );
|
||||||
FC_ASSERT( op.owner == vbo.owner, "", ("op.owner", op.owner)("vbo.owner", vbo.owner) );
|
FC_ASSERT( op.owner == vbo.owner, "", ("op.owner", op.owner)("vbo.owner", vbo.owner) );
|
||||||
FC_ASSERT( vbo.is_withdraw_allowed( now, op.amount ), "${balance_type} Vested Balance cannont be withdrwan during the locking period",
|
FC_ASSERT( vbo.is_withdraw_allowed( now, op.amount ), "${balance_type} Vested Balance cannot be withdrawn during the locking period",
|
||||||
("balance_type", get_vesting_balance_type(vbo.balance_type))("now", now)("op", op)("vbo", vbo) );
|
("balance_type", get_vesting_balance_type(vbo.balance_type))("now", now)("op", op)("vbo", vbo) );
|
||||||
assert( op.amount <= vbo.balance ); // is_withdraw_allowed should fail before this check is reached
|
assert( op.amount <= vbo.balance ); // is_withdraw_allowed should fail before this check is reached
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue