Browse Source

Fix wallet test entropy extension input

master
Adam Gibson 6 years ago
parent
commit
dfb169aaf3
No known key found for this signature in database
GPG Key ID: 141001A1AF77F20B
  1. 2
      jmclient/test/test_wallet.py

2
jmclient/test/test_wallet.py

@ -70,7 +70,7 @@ def test_bip39_seeds(monkeypatch, setup_wallet, entropy, mnemonic, key, xpriv):
storage = VolatileStorage() storage = VolatileStorage()
SegwitLegacyWallet.initialize( SegwitLegacyWallet.initialize(
storage, get_network(), entropy=created_entropy, storage, get_network(), entropy=created_entropy,
entropy_extension=b'TREZOR', max_mixdepth=4) entropy_extension='TREZOR', max_mixdepth=4)
wallet = SegwitLegacyWallet(storage) wallet = SegwitLegacyWallet(storage)
assert (mnemonic, b'TREZOR') == wallet.get_mnemonic_words() assert (mnemonic, b'TREZOR') == wallet.get_mnemonic_words()
assert key == hexlify(wallet._create_master_key()).decode('ascii') assert key == hexlify(wallet._create_master_key()).decode('ascii')

Loading…
Cancel
Save