mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-19 11:02:02 +00:00
core/tests: Fix Keychain usage in test_apps.wallet.signtx.fee_threshold.
This commit is contained in:
parent
58e06ba22c
commit
5d561a0e53
@ -156,9 +156,8 @@ class TestSignTxFeeThreshold(unittest.TestCase):
|
|||||||
]
|
]
|
||||||
|
|
||||||
seed = bip39.seed('alcohol woman abuse must during monitor noble actual mixed trade anger aisle', '')
|
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)
|
signer = signing.sign_tx(tx, keychain)
|
||||||
for request, response in chunks(messages, 2):
|
for request, response in chunks(messages, 2):
|
||||||
self.assertEqual(signer.send(request), response)
|
self.assertEqual(signer.send(request), response)
|
||||||
|
Loading…
Reference in New Issue
Block a user