mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-16 04:29:08 +00:00
compute root node via bip39 in test_bip32_speed before checking speed
This commit is contained in:
parent
dc54376b15
commit
59f4dcbaa5
@ -12,6 +12,8 @@ class TestAddresses(common.TrezorTest):
|
||||
label='test',
|
||||
language='english')
|
||||
|
||||
self.client.get_address('Bitcoin', [0]) # to compute root node via BIP39
|
||||
|
||||
for depth in range(8):
|
||||
start = time.time()
|
||||
self.client.get_address('Bitcoin', range(depth))
|
||||
@ -28,6 +30,8 @@ class TestAddresses(common.TrezorTest):
|
||||
label='test',
|
||||
language='english')
|
||||
|
||||
self.client.get_address('Bitcoin', [0]) # to compute root node via BIP39
|
||||
|
||||
for depth in range(8):
|
||||
start = time.time()
|
||||
self.client.get_address('Bitcoin', range(-depth, 0))
|
||||
|
Loading…
Reference in New Issue
Block a user