Fix Budget's payment_with_fee test

Fee is now independent of the contract.
This commit is contained in:
Greg Fitzgerald 2019-03-07 14:40:14 -07:00
parent 125a345c90
commit 7a4ccc8719
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ impl BudgetTransaction {
if let Some(BudgetInstruction::InitializeAccount(expr)) =
BudgetTransaction::instruction(&tx, 1)
{
if !(tx.fee <= lamports && expr.verify(lamports - tx.fee)) {
if !expr.verify(lamports) {
return false;
}
}