From 4e52cc6eb4d0d4f78f439e756e9fddf2c3ceafdb Mon Sep 17 00:00:00 2001 From: Inso <insomniak.fr@gmail.com> Date: Wed, 7 Jan 2015 08:41:14 +0100 Subject: [PATCH] Fixed message in wallet --- src/cutecoin/core/wallet.py | 4 ++-- src/cutecoin/gui/password_asker.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cutecoin/core/wallet.py b/src/cutecoin/core/wallet.py index a78f8652..0b260dfe 100644 --- a/src/cutecoin/core/wallet.py +++ b/src/cutecoin/core/wallet.py @@ -186,8 +186,8 @@ class Wallet(object): self.cache.available_sources = buf_inputs return inputs - raise NotEnoughMoneyError(amount, community.currency, - len(inputs), value) + raise NotEnoughMoneyError(value, community.currency, + len(inputs), amount) return [] def tx_outputs(self, pubkey, amount, inputs): diff --git a/src/cutecoin/gui/password_asker.py b/src/cutecoin/gui/password_asker.py index c80bb355..945e9567 100644 --- a/src/cutecoin/gui/password_asker.py +++ b/src/cutecoin/gui/password_asker.py @@ -28,7 +28,6 @@ class PasswordAskerDialog(QDialog, Ui_PasswordAskerDialog): self.remember = False def ask(self): - self.edit_password.setText("") if not self.remember: self.exec_() pwd = self.password -- GitLab