electrum

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

commit d5ab8f82f2f9a302d6d958de0a0c58f7abbdeaa3
parent af54ba023bd67ba9a3321b23e079b145370732bd
Author: ThomasV <thomasv@electrum.org>
Date:   Tue, 31 Jan 2017 15:31:22 +0100

move is_segwit for hardware wallets

Diffstat:
Mlib/keystore.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/keystore.py b/lib/keystore.py @@ -75,6 +75,9 @@ class KeyStore(PrintError): return False return bool(self.get_tx_derivations(tx)) + def is_segwit(self): + return False + class Software_KeyStore(KeyStore): @@ -217,9 +220,6 @@ class Deterministic_KeyStore(Software_KeyStore): def get_passphrase(self, password): return pw_decode(self.passphrase, password) if self.passphrase else '' - def is_segwit(self): - return False - class Xpub: