electrum

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

commit 150e27608b2d5eaef438f32bc16adc3805b5e331
parent e975727075c048169572f67eed8e07cf40482120
Author: SomberNight <somber.night@protonmail.com>
Date:   Wed, 10 Oct 2018 20:26:12 +0200

wallet: rm electrum_version field

Diffstat:
Melectrum/gui/qt/main_window.py | 5+++--
Melectrum/wallet.py | 1-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py @@ -57,6 +57,7 @@ from electrum.util import (format_time, format_satoshis, format_fee_satoshis, from electrum.transaction import Transaction, TxOutput from electrum.address_synchronizer import AddTransactionException from electrum.wallet import Multisig_Wallet, CannotBumpFee +from electrum.version import ELECTRUM_VERSION from .exception_window import Exception_Hook from .amountedit import AmountEdit, BTCAmountEdit, MyLineEdit, FeerateEdit @@ -399,7 +400,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): def watching_only_changed(self): name = "Electrum Testnet" if constants.net.TESTNET else "Electrum" - title = '%s %s - %s' % (name, self.wallet.electrum_version, + title = '%s %s - %s' % (name, ELECTRUM_VERSION, self.wallet.basename()) extra = [self.wallet.storage.get('wallet_type', '?')] if self.wallet.is_watching_only(): @@ -584,7 +585,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): def show_about(self): QMessageBox.about(self, "Electrum", - (_("Version")+" %s" % self.wallet.electrum_version + "\n\n" + + (_("Version")+" %s" % ELECTRUM_VERSION + "\n\n" + _("Electrum's focus is speed, with low resource usage and simplifying Bitcoin.") + " " + _("You do not need to perform regular backups, because your wallet can be " "recovered from a secret phrase that you can memorize or write on paper.") + " " + diff --git a/electrum/wallet.py b/electrum/wallet.py @@ -167,7 +167,6 @@ class Abstract_Wallet(AddressSynchronizer): def __init__(self, storage): AddressSynchronizer.__init__(self, storage) - self.electrum_version = ELECTRUM_VERSION # saved fields self.use_change = storage.get('use_change', True) self.multiple_change = storage.get('multiple_change', False)