diff options
author | kumavis <kumavis@users.noreply.github.com> | 2016-11-11 13:37:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-11 13:37:09 +0800 |
commit | f88079c6b9c0e7bf5d7765f8ea8471b64624d8d0 (patch) | |
tree | ed4164447d8a06ba9120d00ac2091eb66521bbda /ui | |
parent | 3775a4bf799efc99cfe3d46b35fc0b39a82c94c2 (diff) | |
parent | 1d0abc47711fd93f99289f9c59a58fb4fa2d1587 (diff) | |
download | tangerine-wallet-browser-f88079c6b9c0e7bf5d7765f8ea8471b64624d8d0.tar tangerine-wallet-browser-f88079c6b9c0e7bf5d7765f8ea8471b64624d8d0.tar.gz tangerine-wallet-browser-f88079c6b9c0e7bf5d7765f8ea8471b64624d8d0.tar.bz2 tangerine-wallet-browser-f88079c6b9c0e7bf5d7765f8ea8471b64624d8d0.tar.lz tangerine-wallet-browser-f88079c6b9c0e7bf5d7765f8ea8471b64624d8d0.tar.xz tangerine-wallet-browser-f88079c6b9c0e7bf5d7765f8ea8471b64624d8d0.tar.zst tangerine-wallet-browser-f88079c6b9c0e7bf5d7765f8ea8471b64624d8d0.zip |
Merge pull request #805 from MetaMask/i804
detect tx error - show warning and fix gasLimit
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/pending-tx.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js index 4c27a8092..b619020d1 100644 --- a/ui/app/components/pending-tx.js +++ b/ui/app/components/pending-tx.js @@ -30,6 +30,15 @@ PendingTx.prototype.render = function () { } `), + txData.simulationFails ? + h('span.error', { + style: { + marginLeft: 50, + fontSize: '0.9em', + }, + }, 'Transaction Error. Exception thrown in contract code.') + : null, + state.insufficientBalance ? h('span.error', { style: { |