Revert "report coverage if script was already compiled"
This reverts commit 2b1ea89e79
.
This commit is contained in:
parent
2b1ea89e79
commit
4f6cbff2e1
1 changed files with 0 additions and 1 deletions
|
@ -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.
|
// 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 {
|
func CompileFile(t testing.TB, sender util.Uint160, srcPath string, configPath string) *Contract {
|
||||||
if c, ok := contracts[srcPath]; ok {
|
if c, ok := contracts[srcPath]; ok {
|
||||||
collectCoverage(t, rawCoverage[c.Hash].debugInfo, c.Hash)
|
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue