diff --git a/core/state/statedb_arbitrum.go b/core/state/statedb_arbitrum.go index 0eadd2306f..4d6a71ac3f 100644 --- a/core/state/statedb_arbitrum.go +++ b/core/state/statedb_arbitrum.go @@ -241,7 +241,8 @@ func (s *StateDB) StartRecording() { s.arbExtraData.userWasms = make(UserWasms) } -func (s *StateDB) RecordProgram(targets []ethdb.WasmTarget, moduleHash common.Hash) { +func (s *StateDB) RecordProgram(moduleHash common.Hash) { + targets := s.db.WasmTargets() if len(targets) == 0 { // nothing to record return