diff --git a/pkg/core/blockchain_test.go b/pkg/core/blockchain_test.go index 1eb347744..f6c59f4f4 100644 --- a/pkg/core/blockchain_test.go +++ b/pkg/core/blockchain_test.go @@ -2,7 +2,6 @@ package core import ( "errors" - "fmt" "math/big" "math/rand" "testing" @@ -252,8 +251,7 @@ func TestVerifyTx(t *testing.T) { checkErr := func(t *testing.T, expectedErr error, tx *transaction.Transaction) { err := bc.VerifyTx(tx) - fmt.Println(err) - require.True(t, errors.Is(err, expectedErr)) + require.True(t, errors.Is(err, expectedErr), "expected: %v, got: %v", expectedErr, err) } testScript := []byte{byte(opcode.PUSH1)}