From e8ffe29554dbb616005218f9686a3d9d8c85ca49 Mon Sep 17 00:00:00 2001 From: ecdsa Date: Tue, 14 May 2013 17:15:24 +0200 Subject: [PATCH] make sure default fee is enough --- gui/gui_classic.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gui/gui_classic.py b/gui/gui_classic.py index a6bd5a337..1f806a18e 100644 --- a/gui/gui_classic.py +++ b/gui/gui_classic.py @@ -295,6 +295,11 @@ class ElectrumWindow(QMainWindow): tabs.setCurrentIndex (n) tabs.setCurrentIndex (0) + # fix fee + if self.wallet.fee < 50000: + self.wallet.set_fee(50000) + self.show_message("Note: Your default fee was raised to 0.0005 BTC/kilobyte") + # set initial message self.console.showMessage(self.wallet.interface.banner)