Skip to content

Commit

Permalink
process Ledger Exceptions when signing
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed Dec 7, 2018
1 parent 77fa85f commit 998c6eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hwdevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def signMessageFinish(self):



@process_ledger_exceptions
def signTxSign(self, ctrl):
self.tx_raw = None
with self.lock:
Expand Down
3 changes: 2 additions & 1 deletion src/tabRewards.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,8 @@ def FinishSend(self, serialized_tx, amount_to_send):
message = '<p>Unable to decode TX- Broadcast anyway?</p>'

mess1 = QMessageBox(QMessageBox.Information, 'Send transaction', message)
mess1.setDetailedText(json.dumps(decodedTx, indent=4, sort_keys=False))
if decodedTx is not None:
mess1.setDetailedText(json.dumps(decodedTx, indent=4, sort_keys=False))
mess1.setStandardButtons(QMessageBox.Yes | QMessageBox.No)

reply = mess1.exec_()
Expand Down

0 comments on commit 998c6eb

Please sign in to comment.