From 33031f387c291b0423d27beca0992a63fac8398e Mon Sep 17 00:00:00 2001 From: thomasv Date: Fri, 7 Dec 2012 14:52:55 +0100 Subject: [PATCH] fix: misplaced repr --- lib/wallet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wallet.py b/lib/wallet.py index b28e0c306..9143d5214 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -777,9 +777,9 @@ class Wallet: outputs = self.add_tx_change(outputs, amount, fee, total, change_addr) if not self.seed: - return {'inputs':inputs, 'outputs':outputs} + return repr({'inputs':inputs, 'outputs':outputs}) - tx = repr(self.signed_tx(inputs, outputs, password)) + tx = self.signed_tx(inputs, outputs, password) for address, x in outputs: if address not in self.addressbook and not self.is_mine(address):