cast cleanup

This commit is contained in:
Andrew Jackson (Ajax) 2023-07-14 18:00:05 -05:00
parent a22b7cf869
commit e9f7c9c3ec

View File

@ -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