Do not show user rejection errors within our UI.

feature/default_network_editable
Dan Finlay 8 years ago
parent 034742a571
commit a0bfdfe409
  1. 4
      ui/app/conf-tx.js

@ -140,7 +140,9 @@ ConfirmTxScreen.prototype.goHome = function (event) {
}
function warningIfExists (warning) {
if (warning) {
if (warning &&
// Do not display user rejections on this screen:
warning.indexOf('User denied transaction signature') === -1) {
return h('span.error', { style: { margin: 'auto' } }, warning)
}
}

Loading…
Cancel
Save