diff --git a/itests/kit/ensemble.go b/itests/kit/ensemble.go index 2adec26a0..04a02cf61 100644 --- a/itests/kit/ensemble.go +++ b/itests/kit/ensemble.go @@ -785,7 +785,7 @@ func (n *Ensemble) Start() *Ensemble { n.t.Cleanup(func() { _ = stop(context.Background()) }) mCopy := m n.t.Cleanup(func() { - mCopy.StorageMiner.(*impl.StorageMinerAPI).HarmonyDB.ITestDeleteAll() + mCopy.BaseAPI.(*impl.StorageMinerAPI).HarmonyDB.ITestDeleteAll() }) m.BaseAPI = m.StorageMiner