diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-04-20 08:33:37 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-04-20 08:33:37 +0800 |
commit | f72887a0a288c2e9a31adea34146ed6857bdb6ae (patch) | |
tree | 16eff4b96dc5fbc677f3fb1f34ace6d0cadf5eaa /app/scripts/lib | |
parent | 901d23a02904a859901ca4f0bf5a6e42684567ec (diff) | |
download | tangerine-wallet-browser-f72887a0a288c2e9a31adea34146ed6857bdb6ae.tar tangerine-wallet-browser-f72887a0a288c2e9a31adea34146ed6857bdb6ae.tar.gz tangerine-wallet-browser-f72887a0a288c2e9a31adea34146ed6857bdb6ae.tar.bz2 tangerine-wallet-browser-f72887a0a288c2e9a31adea34146ed6857bdb6ae.tar.lz tangerine-wallet-browser-f72887a0a288c2e9a31adea34146ed6857bdb6ae.tar.xz tangerine-wallet-browser-f72887a0a288c2e9a31adea34146ed6857bdb6ae.tar.zst tangerine-wallet-browser-f72887a0a288c2e9a31adea34146ed6857bdb6ae.zip |
Fix config manager method
Diffstat (limited to 'app/scripts/lib')
-rw-r--r-- | app/scripts/lib/config-manager.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js index bcf251496..b0dcd4d3f 100644 --- a/app/scripts/lib/config-manager.js +++ b/app/scripts/lib/config-manager.js @@ -165,7 +165,7 @@ ConfigManager.prototype.getTxWithParams = function(params) { var transactions = this.getTxList() var matching = transactions.filter((tx) => { return Object.keys(tx.txParams).reduce((result, key) => { - return tx.params[key] === params[key] && result + return ('params' in tx) ? tx.params[key] === params[key] && result : result }, true) }) return matching.length > 0 ? matching[0] : null |