Ignore ctx.amount in get_allowed_withdraw() #625
This commit is contained in:
parent
395a68d61f
commit
f049fce4e9
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ asset linear_vesting_policy::get_allowed_withdraw( const vesting_policy_context&
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return asset( allowed_withdraw, ctx.amount.asset_id );
|
return asset( allowed_withdraw, ctx.balance.asset_id );
|
||||||
}
|
}
|
||||||
|
|
||||||
void linear_vesting_policy::on_deposit(const vesting_policy_context& ctx)
|
void linear_vesting_policy::on_deposit(const vesting_policy_context& ctx)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue