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
c2fb703b76
commit
cc7ae16365
1 changed files with 5 additions and 1 deletions
|
|
@ -1371,11 +1371,15 @@ func (s *BundleAPI) CallBundle(ctx context.Context, args CallBundleArgs) (map[st
|
|||
return nil, fmt.Errorf("err: %w; txhash %s", err, randomHash)
|
||||
}
|
||||
to := "0x"
|
||||
|
||||
logs := receipt.Logs
|
||||
if logs == nil {
|
||||
logs = []*types.Log{}
|
||||
}
|
||||
jsonResult := map[string]interface{}{
|
||||
"txHash": txHash,
|
||||
"gasUsed": receipt.GasUsed,
|
||||
"toAddress": to,
|
||||
"logs": logs,
|
||||
}
|
||||
totalGasUsed += receipt.GasUsed
|
||||
if result.Err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue