mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-03 02:23:48 +00:00
update
This commit is contained in:
parent
21920416e8
commit
39a9e05c88
1 changed files with 1 additions and 2 deletions
|
|
@ -308,8 +308,7 @@ func (s *BlockChainAPI) MultiCall(ctx context.Context, args []TransactionArgs, b
|
|||
defer wg.Done()
|
||||
|
||||
// state is not reentrancy in concurrent scenarios, so use a copy
|
||||
state, _, _ := s.b.StateAndHeaderByNumberOrHash(ctx, blockNrOrHash)
|
||||
r, _ := doOneCall(ctx, s.b, state, header, arg, disableCache)
|
||||
r, _ := doOneCall(ctx, s.b, state.Copy(), header, arg, disableCache)
|
||||
ret[i] = r
|
||||
if r.Err != "" {
|
||||
stats.Success = false
|
||||
|
|
|
|||
Loading…
Reference in a new issue