aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-15 03:37:09 +0800
committerDan <danjm.com@gmail.com>2018-03-15 03:37:09 +0800
commitfb838da7340d460650750cb8ea5fa3fb6fe319de (patch)
tree9344df0f3cac9cc25b7c919cd36dffa9a9fe457d /ui/app/components
parentf428bc7b1e8b3df86596db8cf297bbb36c7f4721 (diff)
downloadtangerine-wallet-browser-fb838da7340d460650750cb8ea5fa3fb6fe319de.tar
tangerine-wallet-browser-fb838da7340d460650750cb8ea5fa3fb6fe319de.tar.gz
tangerine-wallet-browser-fb838da7340d460650750cb8ea5fa3fb6fe319de.tar.bz2
tangerine-wallet-browser-fb838da7340d460650750cb8ea5fa3fb6fe319de.tar.lz
tangerine-wallet-browser-fb838da7340d460650750cb8ea5fa3fb6fe319de.tar.xz
tangerine-wallet-browser-fb838da7340d460650750cb8ea5fa3fb6fe319de.tar.zst
tangerine-wallet-browser-fb838da7340d460650750cb8ea5fa3fb6fe319de.zip
Revert 'Set txMeta.time to reflect time of tx approval.'
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/pending-tx/confirm-send-ether.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/pending-tx/confirm-send-ether.js b/ui/app/components/pending-tx/confirm-send-ether.js
index 6624a378d..9b9a4e4ea 100644
--- a/ui/app/components/pending-tx/confirm-send-ether.js
+++ b/ui/app/components/pending-tx/confirm-send-ether.js
@@ -454,7 +454,7 @@ ConfirmSendEther.prototype.render = function () {
ConfirmSendEther.prototype.onSubmit = function (event) {
event.preventDefault()
- const txMeta = this.gatherTxMeta({ time: (new Date()).getTime() })
+ const txMeta = this.gatherTxMeta()
const valid = this.checkValidity()
this.setState({ valid, submitting: true })
@@ -489,7 +489,7 @@ ConfirmSendEther.prototype.getFormEl = function () {
}
// After a customizable state value has been updated,
-ConfirmSendEther.prototype.gatherTxMeta = function (opts) {
+ConfirmSendEther.prototype.gatherTxMeta = function () {
const props = this.props
const state = this.state
const txData = clone(state.txData) || clone(props.txData)
@@ -503,7 +503,7 @@ ConfirmSendEther.prototype.gatherTxMeta = function (opts) {
}
// log.debug(`UI has defaulted to tx meta ${JSON.stringify(txData)}`)
- return Object.assign(txData, opts)
+ return txData
}
ConfirmSendEther.prototype.verifyGasParams = function () {