diff --git a/hwilib/commands.py b/hwilib/commands.py index 4b66e24..002c3f1 100644 --- a/hwilib/commands.py +++ b/hwilib/commands.py @@ -142,7 +142,7 @@ def getkeypool(client, path, start, end, internal=False, keypool=False, account= desc = Descriptor(master_fpr, path_base.replace('m', ''), base_key, path_suffix, client.is_testnet, sh_wpkh, wpkh) this_import['desc'] = desc.serialize() - this_import['range'] = {'start': start, 'end': end} + this_import['range'] = [start, end] this_import['timestamp'] = 'now' this_import['internal'] = internal this_import['keypool'] = keypool