Skip to content

Commit

Permalink
lint new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rohenaz committed Oct 1, 2024
1 parent 462c6b1 commit 46b1d13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions compat/bip32/derive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ func TestDerivePublicKeyFromPath(t *testing.T) {
expectedPubKey: func() []byte {
xpubStr := "xpub6AvUGrnEpfvJBbfx7sQ89Q8hEMPM65UteqEX4yUbUiES2jHfjexmfJoxCGSwFMZiPBaKQT1RiKWrKfuDV4vpgVs4Xn8PpPTR2i79rwHd4Zr"
xpubKey, err := compat.NewKeyFromString(xpubStr)
assert.NoError(t, err)
require.NoError(t, err)
pubKey, err := xpubKey.ECPubKey()
assert.NoError(t, err)
require.NoError(t, err)
return pubKey.SerializeCompressed()
}(),
expectedErr: nil,
Expand All @@ -212,9 +212,9 @@ func TestDerivePublicKeyFromPath(t *testing.T) {
expectedPubKey: func() []byte {
xpubStr := "xpub6EagAesgan9f8xaZrxrDhPXZ1BKeKvNYWS56asqvFmC7CaAZ19TkdLvHDrzubSMiC6tAqTMcumVFkgT2duhZncV3KieshEDHNc4jPWkRMGD"
xpubKey, err := compat.NewKeyFromString(xpubStr)
assert.NoError(t, err)
require.NoError(t, err)
pubKey, err := xpubKey.ECPubKey()
assert.NoError(t, err)
require.NoError(t, err)
return pubKey.SerializeCompressed()
}(),
expectedErr: nil,
Expand Down

0 comments on commit 46b1d13

Please sign in to comment.