diff --git a/pkg/router/route_group_test.go b/pkg/router/route_group_test.go index 9cf51a8421..aea8db5453 100644 --- a/pkg/router/route_group_test.go +++ b/pkg/router/route_group_test.go @@ -612,8 +612,12 @@ func TestRouteGroup_TestConn(t *testing.T) { go pushPackets(ctx, m1, rg0) stop = func() { - _ = rg0.Close() - _ = rg1.Close() + if err := rg0.Close(); err != nil { + panic(err) + } + if err := rg1.Close(); err != nil { + panic(err) + } nEnv.Teardown() cancel() } diff --git a/vendor/github.com/SkycoinProject/skycoin/src/cipher/crypto.go b/vendor/github.com/SkycoinProject/skycoin/src/cipher/crypto.go index 94499df00c..0f68f85c86 100644 --- a/vendor/github.com/SkycoinProject/skycoin/src/cipher/crypto.go +++ b/vendor/github.com/SkycoinProject/skycoin/src/cipher/crypto.go @@ -434,6 +434,7 @@ func VerifyPubKeySignedHash(pubkey PubKey, sig Sig, hash SHA256) error { return ErrInvalidSigPubKeyRecovery } if pubkeyRec != pubkey { + fmt.Printf("Recovered: %s, original: %s\n", pubkeyRec.Hex(), pubkey.Hex()) return ErrPubKeyRecoverMismatch } if secp256k1.VerifyPubkey(pubkey[:]) != 1 {