1
0

fix trezor initialiation hook (pass window in load_wallet)

This commit is contained in:
ThomasV
2015-06-09 09:58:40 +02:00
parent 70037b89a9
commit f70a996619
10 changed files with 18 additions and 24 deletions

View File

@@ -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/\')\"',

View File

@@ -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