mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
f
This commit is contained in:
parent
81ac1a589c
commit
119e7c4965
1 changed files with 1 additions and 1 deletions
|
|
@ -1571,6 +1571,7 @@ func doCallBundle(ctx context.Context, b Backend, chain *core.BlockChain, args C
|
||||||
"gasUsed": receipt.GasUsed,
|
"gasUsed": receipt.GasUsed,
|
||||||
"logs": logs,
|
"logs": logs,
|
||||||
"status": receipt.Status,
|
"status": receipt.Status,
|
||||||
|
"input": tx.Input,
|
||||||
}
|
}
|
||||||
totalGasUsed += receipt.GasUsed
|
totalGasUsed += receipt.GasUsed
|
||||||
if result.Err != nil {
|
if result.Err != nil {
|
||||||
|
|
@ -1651,7 +1652,6 @@ func (s *BundleAPI) SearchMaxWallet(ctx context.Context, args MaxWalletSearchArg
|
||||||
return lastResult, err
|
return lastResult, err
|
||||||
}
|
}
|
||||||
// if results last tx reverted, we found the max wallet
|
// if results last tx reverted, we found the max wallet
|
||||||
fmt.Println("reverted?", result["lastReverted"])
|
|
||||||
if result["lastReverted"] == true && currentPercentage <= 1 {
|
if result["lastReverted"] == true && currentPercentage <= 1 {
|
||||||
resultPercentage = 0
|
resultPercentage = 0
|
||||||
break
|
break
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue