mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 02:11:24 +02:00
qa: Remove unneded import_deterministic_coinbase_privkeys overwrite, add comments
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user