fix trezor initialiation hook (pass window in load_wallet)
This commit is contained in:
@@ -525,7 +525,7 @@ class Commands:
|
||||
PR_PAID: 'Paid',
|
||||
PR_EXPIRED: 'Expired',
|
||||
}
|
||||
out['amount'] = format_satoshis(out.get('amount'))
|
||||
out['amount'] = format_satoshis(out.get('amount')) + ' BTC'
|
||||
out['status'] = pr_str[out.get('status', PR_UNKNOWN)]
|
||||
return out
|
||||
|
||||
@@ -626,6 +626,7 @@ config_variables = {
|
||||
'requests_dir': 'directory where a bip70 file will be written.',
|
||||
'ssl_privkey': 'Path to your SSL private key, needed to sign the request.',
|
||||
'ssl_chain': 'Chain of SSL certificates, needed for signed requests. Put your certificate at the top and the root CA at the end',
|
||||
'url_rewrite': 'Parameters passed to str.replace(), in order to create the r= part of bitcoin: URIs. Example: \"(\'file:///var/www/\',\'https://electrum.org/\')\"',
|
||||
},
|
||||
'listrequests':{
|
||||
'url_rewrite': 'Parameters passed to str.replace(), in order to create the r= part of bitcoin: URIs. Example: \"(\'file:///var/www/\',\'https://electrum.org/\')\"',
|
||||
|
||||
@@ -169,7 +169,7 @@ class BasePlugin:
|
||||
def init_qt(self, gui): pass
|
||||
|
||||
@hook
|
||||
def load_wallet(self, wallet): pass
|
||||
def load_wallet(self, wallet, window): pass
|
||||
|
||||
@hook
|
||||
def close_wallet(self): pass
|
||||
|
||||
Reference in New Issue
Block a user