1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

core/tests: Fix Keychain usage in test_apps.wallet.signtx.fee_threshold.

This commit is contained in:
Andrew Kozlik 2019-07-02 14:19:08 +02:00
parent 58e06ba22c
commit 5d561a0e53

View File

@ -156,9 +156,8 @@ class TestSignTxFeeThreshold(unittest.TestCase):
]
seed = bip39.seed('alcohol woman abuse must during monitor noble actual mixed trade anger aisle', '')
root = bip32.from_seed(seed, 'secp256k1')
keychain = Keychain([[coin_bitcoin.curve_name]], [root])
keychain = Keychain(seed, [[coin_bitcoin.curve_name]])
signer = signing.sign_tx(tx, keychain)
for request, response in chunks(messages, 2):
self.assertEqual(signer.send(request), response)