diff options
Diffstat (limited to 'app/scripts')
-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 |