mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
Fix syntax error
This commit is contained in:
parent
71c013f9d9
commit
22c5f97370
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue