Export comment on HDSeed and fingerprint with wallet

This commit is contained in:
Eirik Ogilvie-Wigley
2018-09-14 17:26:02 -06:00
parent 002753ae64
commit ae807af413
2 changed files with 9 additions and 1 deletions

View File

@@ -42,7 +42,9 @@ class WalletImportExportTest (BitcoinTestFramework):
# Helper functions
def parse_wallet_file(dump_path):
file_lines = open(dump_path, "r").readlines()
# WE expect information about the HDSeed and fingerpring in the header
assert_true("HDSeed" in file_lines[4], "Expected HDSeed")
assert_true("fingerprint" in file_lines[4], "Expected fingerprint")
(t_keys, i) = parse_wallet_file_lines(file_lines, 0)
(sprout_keys, i) = parse_wallet_file_lines(file_lines, i)
(sapling_keys, i) = parse_wallet_file_lines(file_lines, i)