ledger: better message
This commit is contained in:
parent
5f038a4157
commit
56c490faf0
|
@ -313,7 +313,7 @@ class Ledger_KeyStore(Hardware_KeyStore):
|
||||||
output = address
|
output = address
|
||||||
outputAmount = amount
|
outputAmount = amount
|
||||||
|
|
||||||
self.handler.show_message("Signing Transaction ...")
|
self.handler.show_message(_("Confirm Transaction on your Ledger device..."))
|
||||||
try:
|
try:
|
||||||
# Get trusted inputs from the original transactions
|
# Get trusted inputs from the original transactions
|
||||||
for utxo in inputs:
|
for utxo in inputs:
|
||||||
|
@ -324,7 +324,7 @@ class Ledger_KeyStore(Hardware_KeyStore):
|
||||||
else:
|
else:
|
||||||
tmp = utxo[3].decode('hex')[::-1].encode('hex')
|
tmp = utxo[3].decode('hex')[::-1].encode('hex')
|
||||||
tmp += int_to_hex(utxo[1], 4)
|
tmp += int_to_hex(utxo[1], 4)
|
||||||
chipInputs.append({ 'value' : tmp.decode('hex') })
|
chipInputs.append({'value' : tmp.decode('hex')})
|
||||||
redeemScripts.append(bytearray(utxo[2].decode('hex')))
|
redeemScripts.append(bytearray(utxo[2].decode('hex')))
|
||||||
|
|
||||||
# Sign all inputs
|
# Sign all inputs
|
||||||
|
|
Loading…
Reference in New Issue