aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-02-13 04:55:20 +0800
committerkumavis <aaron@kumavis.me>2016-02-13 04:55:20 +0800
commitbc2ec9f464150507f00a7653a4504644853dd666 (patch)
tree6d4d0c150e57f9ff67023d57b201ab97fc42a798 /app/scripts/lib
parent390141d55d6813192da49021c6023524f96c48d7 (diff)
downloadtangerine-wallet-browser-bc2ec9f464150507f00a7653a4504644853dd666.tar
tangerine-wallet-browser-bc2ec9f464150507f00a7653a4504644853dd666.tar.gz
tangerine-wallet-browser-bc2ec9f464150507f00a7653a4504644853dd666.tar.bz2
tangerine-wallet-browser-bc2ec9f464150507f00a7653a4504644853dd666.tar.lz
tangerine-wallet-browser-bc2ec9f464150507f00a7653a4504644853dd666.tar.xz
tangerine-wallet-browser-bc2ec9f464150507f00a7653a4504644853dd666.tar.zst
tangerine-wallet-browser-bc2ec9f464150507f00a7653a4504644853dd666.zip
idStore - cancel tx
Diffstat (limited to 'app/scripts/lib')
-rw-r--r--app/scripts/lib/idStore.js8
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
//