From f72887a0a288c2e9a31adea34146ed6857bdb6ae Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 19 Apr 2016 17:33:37 -0700 Subject: [PATCH] Fix config manager method --- app/scripts/lib/config-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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