aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2018-03-31 07:00:11 +0800
committerfrankiebee <frankie.diamond@gmail.com>2018-03-31 07:00:11 +0800
commit3def45004a0024c4f48b06618f73f19ffa4ffd6b (patch)
tree79070070688d7d9480d21407ec3bad32bfa3c51a /app
parent03b123a85d2ce693980b83eef7adb8939737bff8 (diff)
downloadtangerine-wallet-browser-3def45004a0024c4f48b06618f73f19ffa4ffd6b.tar
tangerine-wallet-browser-3def45004a0024c4f48b06618f73f19ffa4ffd6b.tar.gz
tangerine-wallet-browser-3def45004a0024c4f48b06618f73f19ffa4ffd6b.tar.bz2
tangerine-wallet-browser-3def45004a0024c4f48b06618f73f19ffa4ffd6b.tar.lz
tangerine-wallet-browser-3def45004a0024c4f48b06618f73f19ffa4ffd6b.tar.xz
tangerine-wallet-browser-3def45004a0024c4f48b06618f73f19ffa4ffd6b.tar.zst
tangerine-wallet-browser-3def45004a0024c4f48b06618f73f19ffa4ffd6b.zip
transactions#newUnapprovedTransaction - dont default origin to metamask
Diffstat (limited to 'app')
-rw-r--r--app/scripts/controllers/transactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index 458bf912b..a18a2d2e2 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -161,7 +161,7 @@ module.exports = class TransactionController extends EventEmitter {
this.emit(`${txMeta.id}:unapproved`, txMeta)
}
- async newUnapprovedTransaction (txParams, opts = {origin: 'metamask'}) {
+ async newUnapprovedTransaction (txParams, opts = {}) {
log.debug(`MetaMaskController newUnapprovedTransaction ${JSON.stringify(txParams)}`)
const initialTxMeta = await this.addUnapprovedTransaction(txParams)
initialTxMeta.origin = opts.origin