Fix Budget's payment_with_fee test
Fee is now independent of the contract.
This commit is contained in:
parent
125a345c90
commit
7a4ccc8719
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue