electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 86826088130b4a1e1b84a87a3c2ea52144a7cdd3
parent f549e15a1282526fad8dc69681e6f0bf2739d013
Author: ThomasV <thomasv@gitorious>
Date:   Mon, 25 Feb 2013 20:48:45 +0100

indent unsigned tx

Diffstat:
Mlib/gui_qt.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/gui_qt.py b/lib/gui_qt.py @@ -928,7 +928,7 @@ class ElectrumWindow(QMainWindow): filename = 'unsigned_tx' f = open(filename,'w') import json - out = json.dumps({"hex":str(tx), "complete":tx.is_complete, 'input_info':repr(tx.input_info).replace(' ','')}) + out = json.dumps({"hex":str(tx), "complete":tx.is_complete, 'input_info':repr(tx.input_info).replace(' ','')}, indent=4) f.write(out + '\n') f.close() QMessageBox.information(self, _('Unsigned transaction'), _("Unsigned transaction was saved to file:") + " " +filename, _('OK'))