bitbox02: rm plugin.get_client method: just use default impl

This commit is contained in:
SomberNight 2020-04-08 22:18:42 +02:00 committed by TheCharlatan
parent dda20583c2
commit 10c358dd38
No known key found for this signature in database
GPG key ID: 9B79B45691DB4173

View file

@ -587,12 +587,6 @@ class BitBox02Plugin(HW_PluginBase):
assert client.bitbox02_device is not None assert client.bitbox02_device is not None
return client.get_xpub(derivation, xtype) return client.get_xpub(derivation, xtype)
def get_client(self, keystore: BitBox02_KeyStore, force_pair: bool = True):
devmgr = self.device_manager()
handler = keystore.handler
client = devmgr.client_for_keystore(self, handler, keystore, force_pair)
return client
def show_address( def show_address(
self, self,
wallet: Deterministic_Wallet, wallet: Deterministic_Wallet,