diff --git a/pkg/neotest/compile.go b/pkg/neotest/compile.go index d7c1b33d6..db62305ff 100644 --- a/pkg/neotest/compile.go +++ b/pkg/neotest/compile.go @@ -49,7 +49,6 @@ func CompileSource(t testing.TB, sender util.Uint160, src io.Reader, opts *compi // CompileFile compiles a contract from the file and returns its NEF, manifest and hash. func CompileFile(t testing.TB, sender util.Uint160, srcPath string, configPath string) *Contract { if c, ok := contracts[srcPath]; ok { - collectCoverage(t, rawCoverage[c.Hash].debugInfo, c.Hash) return c }