diff --git a/core/state/statedb.go b/core/state/statedb.go index ef159a4c22..0183c14480 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -319,6 +319,7 @@ func (s *StateDB) GetNonce(addr common.Address) uint64 { if stateObject != nil { return stateObject.Nonce() } + return 0 }