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

compute root node via bip39 in test_bip32_speed before checking speed

This commit is contained in:
Pavol Rusnak 2014-02-11 21:03:17 +01:00
parent dc54376b15
commit 59f4dcbaa5

View File

@ -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))