Skip to content

Commit 53d82c1

Browse files
committed
last fix
1 parent 9f4c4a0 commit 53d82c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

estimator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ func V2Simulate(provider *ethrpc.Provider, wallet common.Address, transactions T
623623
addrToOverride: {Code: walletGasEstimatorCodeV2},
624624
}
625625
for address, override := range overrides {
626-
if address == addrToOverride || address == wallet {
626+
if address == wallet || address == addrToOverride {
627627
return nil, fmt.Errorf("cannot override wallet or implementation address %v", addrToOverride.Hex())
628628
}
629629

0 commit comments

Comments
 (0)