Skip to content

Commit bede44c

Browse files
committed
adjust TestPaddedPublicKey to the new derivation path rules
1 parent 55c066a commit bede44c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hdwallet/hdwallet_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ func TestPaddedPublicKey(t *testing.T) {
343343
if len(key.Addresses) != 2 {
344344
t.Errorf("Expected 2 addresses to be exported and got %d", len(key.Addresses))
345345
}
346-
if key.Addresses[1].ETHAddress != "0x2CDfa87C022744CceABC525FaA8e85Df6984A60d" {
347-
t.Errorf("Unexpected address. Expected 0x2CDfa87C022744CceABC525FaA8e85Df6984A60d and Got %s", key.Addresses[1].ETHAddress)
346+
if key.Addresses[1].ETHAddress != "0x1DF2a15A6E2493b55aFCec9d0a5548bB9F113B2C" {
347+
t.Errorf("Unexpected address. Expected 0x1DF2a15A6E2493b55aFCec9d0a5548bB9F113B2C and Got %s", key.Addresses[1].ETHAddress)
348348
}
349349
}
350350

0 commit comments

Comments
 (0)