aboutsummaryrefslogtreecommitdiffstats
path: root/ui/example.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2017-02-02 07:08:04 +0800
committerGitHub <noreply@github.com>2017-02-02 07:08:04 +0800
commit3afa3592feef33070a997e53cf3a8b358c5ff703 (patch)
tree204af19a6accbfa3bdf7be243284ee9286863d0a /ui/example.js
parent25c5a4462369f5209924a99cbe0395da13a6a0a7 (diff)
parentc7b9adbfcbaa51082f193581b80bec4f86996f81 (diff)
downloadtangerine-wallet-browser-3afa3592feef33070a997e53cf3a8b358c5ff703.tar
tangerine-wallet-browser-3afa3592feef33070a997e53cf3a8b358c5ff703.tar.gz
tangerine-wallet-browser-3afa3592feef33070a997e53cf3a8b358c5ff703.tar.bz2
tangerine-wallet-browser-3afa3592feef33070a997e53cf3a8b358c5ff703.tar.lz
tangerine-wallet-browser-3afa3592feef33070a997e53cf3a8b358c5ff703.tar.xz
tangerine-wallet-browser-3afa3592feef33070a997e53cf3a8b358c5ff703.tar.zst
tangerine-wallet-browser-3afa3592feef33070a997e53cf3a8b358c5ff703.zip
Merge pull request #1076 from MetaMask/messageManagerCleanUp
Message manager clean up
Diffstat (limited to 'ui/example.js')
-rw-r--r--ui/example.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/example.js b/ui/example.js
index 888748c48..4627c0e9c 100644
--- a/ui/example.js
+++ b/ui/example.js
@@ -29,7 +29,7 @@ var identities = {
},
}
-var unconfTxs = {}
+var unapprovedTxs = {}
addUnconfTx({
from: '0x222462427bcc9133bb46e88bcbe39cd7ef0e7222',
to: '0x1113462427bcc9133bb46e88bcbe39cd7ef0e111',
@@ -45,7 +45,7 @@ addUnconfTx({
function addUnconfTx (txParams) {
var time = (new Date()).getTime()
var id = createRandomId()
- unconfTxs[id] = {
+ unapprovedTxs[id] = {
id: id,
txParams: txParams,
time: time,
@@ -59,7 +59,7 @@ function getState () {
return {
isUnlocked: isUnlocked,
identities: isUnlocked ? identities : {},
- unconfTxs: isUnlocked ? unconfTxs : {},
+ unapprovedTxs: isUnlocked ? unapprovedTxs : {},
selectedAccount: selectedAccount,
}
}