diff --git a/hdkeychain/extendedkey_test.go b/hdkeychain/extendedkey_test.go index c94d321..00699d6 100644 --- a/hdkeychain/extendedkey_test.go +++ b/hdkeychain/extendedkey_test.go @@ -857,7 +857,7 @@ func TestErrors(t *testing.T) { { name: "pubkey not on curve", key: "xpub661MyMwAqRbcFtXgS5sYJABqqG9YLmC4Q1Rdap9gSE8NqtwybGhePY2gZ1hr9Rwbk95YadvBkQXxzHBSngB8ndpW6QH7zhhsXZ2jHyZqPjk", - err: errors.New("pubkey isn't on secp256k1 curve"), + err: errors.New("invalid square root"), }, { name: "unsupported version",