From 5d561a0e534130ae9b265f79ac8150e01db5dba4 Mon Sep 17 00:00:00 2001 From: Andrew Kozlik Date: Tue, 2 Jul 2019 14:19:08 +0200 Subject: [PATCH] core/tests: Fix Keychain usage in test_apps.wallet.signtx.fee_threshold. --- core/tests/test_apps.wallet.signtx.fee_threshold.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/tests/test_apps.wallet.signtx.fee_threshold.py b/core/tests/test_apps.wallet.signtx.fee_threshold.py index 5d272d602..3741e5130 100644 --- a/core/tests/test_apps.wallet.signtx.fee_threshold.py +++ b/core/tests/test_apps.wallet.signtx.fee_threshold.py @@ -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)