Skip to content

Commit

Permalink
mempool: Delete unreachable code in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Abirdcfly committed Aug 11, 2022
1 parent 1ac88ba commit 4666d81
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/mempool/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ func TestCheckPkScriptStandard(t *testing.T) {
if err != nil {
t.Fatalf("TestCheckPkScriptStandard test '%s' "+
"failed: %v", test.name, err)
continue
}
scriptType := stdscript.DetermineScriptType(0, script)
got := checkPkScriptStandard(0, script, scriptType)
Expand All @@ -205,7 +204,6 @@ func TestCheckPkScriptStandard(t *testing.T) {

t.Fatalf("TestCheckPkScriptStandard test '%s' failed",
test.name)
return
}
}
}
Expand Down Expand Up @@ -300,7 +298,6 @@ func TestDust(t *testing.T) {
if res != test.isDust {
t.Fatalf("Dust test '%s' failed: want %v got %v",
test.name, test.isDust, res)
continue
}
}
}
Expand Down

0 comments on commit 4666d81

Please sign in to comment.