1
0

commands: add new cmd "getprivatekeyforpath" to export a WIF for a path

related: #6061
This commit is contained in:
SomberNight
2020-03-31 05:50:18 +02:00
parent e1e5167ca9
commit 900a7631cf
5 changed files with 37 additions and 6 deletions

View File

@@ -449,7 +449,7 @@ class AddressSynchronizer(Logger):
domain = set(domain)
# 1. Get the history of each address in the domain, maintain the
# delta of a tx as the sum of its deltas on domain addresses
tx_deltas = defaultdict(int)
tx_deltas = defaultdict(int) # type: Dict[str, Optional[int]]
for addr in domain:
h = self.get_address_history(addr)
for tx_hash, height in h: