diff options
author | frankiebee <frankie.diamond@gmail.com> | 2018-03-31 07:00:11 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2018-03-31 07:00:11 +0800 |
commit | 3def45004a0024c4f48b06618f73f19ffa4ffd6b (patch) | |
tree | 79070070688d7d9480d21407ec3bad32bfa3c51a /app | |
parent | 03b123a85d2ce693980b83eef7adb8939737bff8 (diff) | |
download | tangerine-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.js | 2 |
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 |