aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-11-30 04:44:42 +0800
committerDan Finlay <dan@danfinlay.com>2016-11-30 04:46:08 +0800
commit85d5b12f8dd4029bf93a7fb0b5f65b306cbaaa3c (patch)
treed9ffe94bc8126b74d471d814e4667bf72e19aa6f /ui
parent4b6b1db4f0fddfe3a640656311a58429ed48753c (diff)
downloadtangerine-wallet-browser-85d5b12f8dd4029bf93a7fb0b5f65b306cbaaa3c.tar
tangerine-wallet-browser-85d5b12f8dd4029bf93a7fb0b5f65b306cbaaa3c.tar.gz
tangerine-wallet-browser-85d5b12f8dd4029bf93a7fb0b5f65b306cbaaa3c.tar.bz2
tangerine-wallet-browser-85d5b12f8dd4029bf93a7fb0b5f65b306cbaaa3c.tar.lz
tangerine-wallet-browser-85d5b12f8dd4029bf93a7fb0b5f65b306cbaaa3c.tar.xz
tangerine-wallet-browser-85d5b12f8dd4029bf93a7fb0b5f65b306cbaaa3c.tar.zst
tangerine-wallet-browser-85d5b12f8dd4029bf93a7fb0b5f65b306cbaaa3c.zip
Fix tx adding code
Broken in this commit: https://github.com/MetaMask/metamask-plugin/commit/bc39cd7b894ddf0f3724d4af3cfc30c2638e0939 Synchronous methods were added to an `async.waterfall` array. This commit also removes the delegate call checking, since we concluded it was misinformed.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pending-tx-details.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/ui/app/components/pending-tx-details.js b/ui/app/components/pending-tx-details.js
index 42fb4c870..89472b221 100644
--- a/ui/app/components/pending-tx-details.js
+++ b/ui/app/components/pending-tx-details.js
@@ -154,8 +154,6 @@ PTXP.render = function () {
]),
]), // End of Table
- this.warnIfNeeded(),
-
])
)
}
@@ -201,29 +199,6 @@ PTXP.miniAccountPanelForRecipient = function () {
}
}
-// Should analyze if there is a DELEGATECALL opcode
-// in the recipient contract, and show a warning if so.
-PTXP.warnIfNeeded = function () {
- const containsDelegateCall = !!this.props.txData.containsDelegateCall
-
- if (!containsDelegateCall) {
- return null
- }
-
- return h('span.error', {
- style: {
- fontFamily: 'Montserrat Light',
- fontSize: '13px',
- display: 'flex',
- justifyContent: 'center',
- },
- }, [
- h('i.fa.fa-lg.fa-info-circle', { style: { margin: '5px' } }),
- h('span', ' Your identity may be used in other contracts!'),
- ])
-}
-
-
function forwardCarrat () {
return (