mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-16 00:43:46 +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()
|
defer wg.Done()
|
||||||
|
|
||||||
// state is not reentrancy in concurrent scenarios, so use a copy
|
// state is not reentrancy in concurrent scenarios, so use a copy
|
||||||
state, _, _ := s.b.StateAndHeaderByNumberOrHash(ctx, blockNrOrHash)
|
r, _ := doOneCall(ctx, s.b, state.Copy(), header, arg, disableCache)
|
||||||
r, _ := doOneCall(ctx, s.b, state, header, arg, disableCache)
|
|
||||||
ret[i] = r
|
ret[i] = r
|
||||||
if r.Err != "" {
|
if r.Err != "" {
|
||||||
stats.Success = false
|
stats.Success = false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue