move is_segwit for hardware wallets
This commit is contained in:
parent
af54ba023b
commit
d5ab8f82f2
|
@ -75,6 +75,9 @@ class KeyStore(PrintError):
|
||||||
return False
|
return False
|
||||||
return bool(self.get_tx_derivations(tx))
|
return bool(self.get_tx_derivations(tx))
|
||||||
|
|
||||||
|
def is_segwit(self):
|
||||||
|
return False
|
||||||
|
|
||||||
|
|
||||||
class Software_KeyStore(KeyStore):
|
class Software_KeyStore(KeyStore):
|
||||||
|
|
||||||
|
@ -217,9 +220,6 @@ class Deterministic_KeyStore(Software_KeyStore):
|
||||||
def get_passphrase(self, password):
|
def get_passphrase(self, password):
|
||||||
return pw_decode(self.passphrase, password) if self.passphrase else ''
|
return pw_decode(self.passphrase, password) if self.passphrase else ''
|
||||||
|
|
||||||
def is_segwit(self):
|
|
||||||
return False
|
|
||||||
|
|
||||||
|
|
||||||
class Xpub:
|
class Xpub:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue