mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 07:23:25 +00:00
11 lines
291 B
Python
11 lines
291 B
Python
from exchange_rate import FxPlugin
|
|
from electrum.plugins import hook
|
|
|
|
class Plugin(FxPlugin):
|
|
@hook
|
|
def load_wallet(self, wallet, window):
|
|
self.window = window
|
|
|
|
def on_quotes(self):
|
|
self.print_error("on quotes", self.ccy)
|
|
self.window.fiat_unit = self.ccy
|