diff options
author | Frankie <frankie.diamond@gmail.com> | 2017-01-28 08:11:59 +0800 |
---|---|---|
committer | Frankie <frankie.diamond@gmail.com> | 2017-01-29 12:28:20 +0800 |
commit | 8be68575bbef1dcc89b51355abaee90dbf018387 (patch) | |
tree | c8da5e217b838bff46bcc9ddfb8300133022ca91 /ui/example.js | |
parent | a8ed780d9b3659474c59c7856ab2ee1430c17b42 (diff) | |
download | tangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.tar tangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.tar.gz tangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.tar.bz2 tangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.tar.lz tangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.tar.xz tangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.tar.zst tangerine-wallet-browser-8be68575bbef1dcc89b51355abaee90dbf018387.zip |
Clean up message manger includes:
Provider egine bump
Remove presence of message manger in keyring controller
Change the status wording fom conf to approved
make Message manager a class
fix messages not being apart of the badge
re write message manger to better reflect controller pattern
Diffstat (limited to 'ui/example.js')
-rw-r--r-- | ui/example.js | 6 |
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, } } |