electrum

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

commit 7b3e1dafd42ce8548563b1acea55649be90b2e60
parent 252c73a06a9a58fcd4b2039e0fbe27705c7c365a
Author: ThomasV <thomasv@gitorious>
Date:   Wed,  5 Aug 2015 18:35:36 +0200

replace wallet.set_fee calls

Diffstat:
Mgui/android.py | 2+-
Mgui/gtk.py | 2+-
Mgui/qt/main_window.py | 1-
3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/gui/android.py b/gui/android.py @@ -825,7 +825,7 @@ def settings_loop(): fee = int(COIN * Decimal(fee)) except Exception: modal_dialog('error','invalid fee value') - wallet.set_fee(fee) + config.set_key('fee_per_kb', fee) set_listview() elif pos == "4": diff --git a/gui/gtk.py b/gui/gtk.py @@ -200,7 +200,7 @@ def run_settings_dialog(self): except Exception: show_message("error") return - self.wallet.set_fee(fee) + self.config.set_key('fee_per_kb', fee) try: nz = int( nz ) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -2574,7 +2574,6 @@ class ElectrumWindow(QMainWindow): fee_e.setAmount(self.config.get('fee_per_kb', bitcoin.RECOMMENDED_FEE)) def on_fee(is_done): v = fee_e.get_amount() or 0 - self.wallet.set_fee(v) self.config.set_key('fee_per_kb', v, is_done) if not is_done: self.update_fee()