From b5313ce17d8a570ddd5bffcbd5d5a6dac759bcfc Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 14 Jan 2016 16:23:12 +0100 Subject: [PATCH] follow up da8fce1914e03b49945cde6df296788bbaf5023e --- gui/qt/main_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index e8cb16147..271f90ad6 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -34,7 +34,7 @@ import PyQt4.QtCore as QtCore import icons_rc -from electrum.bitcoin import MIN_RELAY_TX_FEE, COIN, is_valid +from electrum.bitcoin import COIN, is_valid from electrum.plugins import run_hook from electrum.i18n import _ from electrum.util import block_explorer, block_explorer_info, block_explorer_URL @@ -1214,7 +1214,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): self.show_message(str(e)) return - if tx.get_fee() < MIN_RELAY_TX_FEE and tx.requires_fee(self.wallet): + if tx.get_fee() < self.wallet.relayfee() and tx.requires_fee(self.wallet): self.show_error(_("This transaction requires a higher fee, or it will not be propagated by the network")) return