diff options
Diffstat (limited to 'app/scripts/lib/idStore.js')
-rw-r--r-- | app/scripts/lib/idStore.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index 0dfc4deed..73992caa4 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -131,6 +131,14 @@ IdentityStore.prototype.signTransaction = function(password, txId, cb){ }) } +IdentityStore.prototype.cancelTransaction = function(txId){ + const self = this + + var txData = self._currentState.unconfTxs[txId] + delete self._currentState.unconfTxs[txId] + self._didUpdate() +} + // // private // |