From 100c593ad9d4fe2f557cddf6fbf06c9026d7a240 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Fri, 29 Sep 2023 16:34:45 +0200 Subject: [PATCH] fix crasher --- internal/ethapi/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index a1d29ec523..772aaf5684 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1303,7 +1303,7 @@ func (s *BlockChainAPI) MulticallV1(ctx context.Context, opts multicallOpts, blo for i, call := range block.Calls { // setDefaults will consult txpool's nonce tracker. Work around that. if call.Nonce == nil { - nonce := state.GetNonce(*call.From) + nonce := state.GetNonce(call.from()) call.Nonce = (*hexutil.Uint64)(&nonce) } // Let the call run wild unless explicitly specified.