Skip to content

Commit 1bc710d

Browse files
committed
pytest: test also the xpub with composed paths
1 parent 0939b68 commit 1bc710d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_bip32.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,4 @@ def test_sanity_tests():
9999
bip32 = BIP32.from_xpriv(xpriv2)
100100
assert bip32.get_master_xpriv() == xpriv2
101101
assert bip32.get_xpriv_from_path([HARDENED_INDEX, 18]) == xpriv
102+
assert bip32.get_xpub_from_path([HARDENED_INDEX, 18]) == xpub

0 commit comments

Comments
 (0)