commit 6bdc6f559c468a8d24b9581badd1efc3caa78815
parent 53d189fc7ae5994e360849a123e687bd257badc0
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 6 Jun 2019 19:51:37 +0200
storage: fix bug in convert_version_17
closes #5400
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/json_db.py b/electrum/json_db.py
@@ -422,7 +422,7 @@ class JsonDB(Logger):
continue
prevout_hash = txin['prevout_hash']
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('seed_version', 17)