mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
fix crasher
This commit is contained in:
parent
b3996e4719
commit
100c593ad9
1 changed files with 1 additions and 1 deletions
|
|
@ -1303,7 +1303,7 @@ func (s *BlockChainAPI) MulticallV1(ctx context.Context, opts multicallOpts, blo
|
||||||
for i, call := range block.Calls {
|
for i, call := range block.Calls {
|
||||||
// setDefaults will consult txpool's nonce tracker. Work around that.
|
// setDefaults will consult txpool's nonce tracker. Work around that.
|
||||||
if call.Nonce == nil {
|
if call.Nonce == nil {
|
||||||
nonce := state.GetNonce(*call.From)
|
nonce := state.GetNonce(call.from())
|
||||||
call.Nonce = (*hexutil.Uint64)(&nonce)
|
call.Nonce = (*hexutil.Uint64)(&nonce)
|
||||||
}
|
}
|
||||||
// Let the call run wild unless explicitly specified.
|
// Let the call run wild unless explicitly specified.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue