diff options
Store metamaskId on metaTx instead of getTxWithParams method.
Diffstat (limited to 'app/scripts/lib/config-manager.js')
-rw-r--r-- | app/scripts/lib/config-manager.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js index b0dcd4d3f..c79dc7a8f 100644 --- a/app/scripts/lib/config-manager.js +++ b/app/scripts/lib/config-manager.js @@ -161,16 +161,6 @@ ConfigManager.prototype.getTx = function(txId) { return matching.length > 0 ? matching[0] : null } -ConfigManager.prototype.getTxWithParams = function(params) { - var transactions = this.getTxList() - var matching = transactions.filter((tx) => { - return Object.keys(tx.txParams).reduce((result, key) => { - return ('params' in tx) ? tx.params[key] === params[key] && result : result - }, true) - }) - return matching.length > 0 ? matching[0] : null -} - ConfigManager.prototype.confirmTx = function(txId) { this._setTxStatus(txId, 'confirmed') } |