Fix syntax error

This commit is contained in:
Alex Forshtat 2024-07-18 08:50:41 +02:00
parent 71c013f9d9
commit 22c5f97370

View file

@ -146,7 +146,7 @@ func BuyGasRip7560Transaction(st *types.Rip7560AccountAbstractionTx, state vm.St
chargeFrom := st.Sender chargeFrom := st.Sender
if st.Paymaster != nil && st.Paymaster.Cmp(common.Address{}) != 0 { if st.Paymaster != nil && st.Paymaster.Cmp(common.Address{}) != 0 {
chargeFrom = *st.Paymaster chargeFrom = st.Paymaster
} }
if have, want := state.GetBalance(*chargeFrom), balanceCheck; have.Cmp(want) < 0 { if have, want := state.GetBalance(*chargeFrom), balanceCheck; have.Cmp(want) < 0 {