aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-09-15 05:34:54 +0800
committerDan Finlay <dan@danfinlay.com>2016-09-15 05:34:54 +0800
commita0bfdfe40920c606fc09f9637ee6cef18537e3c5 (patch)
tree6ee896c9923f549c584d8f7d84c7bb7414e88276 /ui
parent034742a571682514b1bf50a667118e4aea157ccd (diff)
downloadtangerine-wallet-browser-a0bfdfe40920c606fc09f9637ee6cef18537e3c5.tar
tangerine-wallet-browser-a0bfdfe40920c606fc09f9637ee6cef18537e3c5.tar.gz
tangerine-wallet-browser-a0bfdfe40920c606fc09f9637ee6cef18537e3c5.tar.bz2
tangerine-wallet-browser-a0bfdfe40920c606fc09f9637ee6cef18537e3c5.tar.lz
tangerine-wallet-browser-a0bfdfe40920c606fc09f9637ee6cef18537e3c5.tar.xz
tangerine-wallet-browser-a0bfdfe40920c606fc09f9637ee6cef18537e3c5.tar.zst
tangerine-wallet-browser-a0bfdfe40920c606fc09f9637ee6cef18537e3c5.zip
Do not show user rejection errors within our UI.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/conf-tx.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js
index 99b4bc9f1..f02b6be78 100644
--- a/ui/app/conf-tx.js
+++ b/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)
}
}