diff options
| author | MarcoFalke <[email protected]> | 2018-09-13 09:23:11 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-09-13 09:21:44 -0400 |
| commit | fa8433e3797a574937009c1b0843f44d8d7b5358 (patch) | |
| tree | 70eabf4d4f536f05392d524c209527ede9488561 /test/functional/wallet_dump.py | |
| parent | qa: Fix codespell error and have lint-spelling error instead of warn (diff) | |
| download | discoin-fa8433e3797a574937009c1b0843f44d8d7b5358.tar.xz discoin-fa8433e3797a574937009c1b0843f44d8d7b5358.zip | |
qa: Remove unneded import_deterministic_coinbase_privkeys overwrite, add comments
Diffstat (limited to 'test/functional/wallet_dump.py')
| -rwxr-xr-x | test/functional/wallet_dump.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/functional/wallet_dump.py b/test/functional/wallet_dump.py index db731b2a3..125e114b2 100755 --- a/test/functional/wallet_dump.py +++ b/test/functional/wallet_dump.py @@ -34,7 +34,11 @@ def read_dump(file_name, addrs, script_addrs, hd_master_addr_old): # key = key_date_label[0] date = key_date_label[1] keytype = key_date_label[2] - if not len(comment) or date.startswith('1970'): + + imported_key = date == '1970-01-01T00:00:01Z' + if imported_key: + # Imported keys have multiple addresses, no label (keypath) and timestamp + # Skip them continue addr_keypath = comment.split(" addr=")[1] |