Browse Source

storage: fix bug in convert_version_17

closes #5400
dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
SomberNight 6 years ago
parent
commit
6bdc6f559c
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/json_db.py

2
electrum/json_db.py

@ -422,7 +422,7 @@ class JsonDB(Logger):
continue continue
prevout_hash = txin['prevout_hash'] prevout_hash = txin['prevout_hash']
prevout_n = txin['prevout_n'] prevout_n = txin['prevout_n']
spent_outpoints[prevout_hash][prevout_n] = txid spent_outpoints[prevout_hash][str(prevout_n)] = txid
self.put('spent_outpoints', spent_outpoints) self.put('spent_outpoints', spent_outpoints)
self.put('seed_version', 17) self.put('seed_version', 17)

Loading…
Cancel
Save