aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-02-24 08:00:43 +0800
committerDan Finlay <dan@danfinlay.com>2017-02-24 08:02:58 +0800
commit961a83769bd46334f5ecf72d00a32730d19866c3 (patch)
tree5d7397ec9e83c90e7c56ab9a1b9c62d9aa052ffe /ui/app/actions.js
parent1d1d296a1eec2fc66927dd80bf0f1bbd1a6841cf (diff)
downloadtangerine-wallet-browser-961a83769bd46334f5ecf72d00a32730d19866c3.tar
tangerine-wallet-browser-961a83769bd46334f5ecf72d00a32730d19866c3.tar.gz
tangerine-wallet-browser-961a83769bd46334f5ecf72d00a32730d19866c3.tar.bz2
tangerine-wallet-browser-961a83769bd46334f5ecf72d00a32730d19866c3.tar.lz
tangerine-wallet-browser-961a83769bd46334f5ecf72d00a32730d19866c3.tar.xz
tangerine-wallet-browser-961a83769bd46334f5ecf72d00a32730d19866c3.tar.zst
tangerine-wallet-browser-961a83769bd46334f5ecf72d00a32730d19866c3.zip
Fix cancel msg signing behavior.
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 12ee0367a..89a4fadfa 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -418,7 +418,7 @@ function sendTx (txData) {
function completedTx (id) {
return {
type: actions.COMPLETED_TX,
- id,
+ value: id,
}
}
@@ -436,9 +436,9 @@ function cancelMsg (msgData) {
}
function cancelPersonalMsg (msgData) {
- log.debug(`background.cancelMessage`)
- background.cancelPersonalMessage(msgData.id)
- return actions.completedTx(msgData.id)
+ const id = msgData.id
+ background.cancelPersonalMessage(id)
+ return actions.completedTx(id)
}
function cancelTx (txData) {