|
@ -344,8 +344,6 @@ class Plugin(BasePlugin): |
|
|
|
|
|
|
|
|
@hook |
|
|
@hook |
|
|
def load_wallet(self, wallet): |
|
|
def load_wallet(self, wallet): |
|
|
self.wallet = wallet |
|
|
|
|
|
if self.is_enabled(): |
|
|
|
|
|
self.trustedcoin_button = StatusBarButton( QIcon(":icons/trustedcoin.png"), _("Network"), self.settings_dialog) |
|
|
self.trustedcoin_button = StatusBarButton( QIcon(":icons/trustedcoin.png"), _("Network"), self.settings_dialog) |
|
|
self.window.statusBar().addPermanentWidget(self.trustedcoin_button) |
|
|
self.window.statusBar().addPermanentWidget(self.trustedcoin_button) |
|
|
self.xpub = self.wallet.master_public_keys.get('x1/') |
|
|
self.xpub = self.wallet.master_public_keys.get('x1/') |
|
|