diff options
author | Frankie <frankie.diamond@gmail.com> | 2017-01-30 16:50:02 +0800 |
---|---|---|
committer | Frankie <frankie.diamond@gmail.com> | 2017-01-30 16:50:02 +0800 |
commit | f40629e5ae7d284e871d9dcd8b62fce34b6f2b39 (patch) | |
tree | 2212e6d50ccc877f4fe392d4d68745a2d59703a1 /app/scripts/keyring-controller.js | |
parent | fdee1e3701a84fe1321de348ec2d11bf5361a62d (diff) | |
parent | b6909574a7036c396ed85809cbd90aa2171b012f (diff) | |
download | tangerine-wallet-browser-f40629e5ae7d284e871d9dcd8b62fce34b6f2b39.tar tangerine-wallet-browser-f40629e5ae7d284e871d9dcd8b62fce34b6f2b39.tar.gz tangerine-wallet-browser-f40629e5ae7d284e871d9dcd8b62fce34b6f2b39.tar.bz2 tangerine-wallet-browser-f40629e5ae7d284e871d9dcd8b62fce34b6f2b39.tar.lz tangerine-wallet-browser-f40629e5ae7d284e871d9dcd8b62fce34b6f2b39.tar.xz tangerine-wallet-browser-f40629e5ae7d284e871d9dcd8b62fce34b6f2b39.tar.zst tangerine-wallet-browser-f40629e5ae7d284e871d9dcd8b62fce34b6f2b39.zip |
Merge branch 'dev' into messageManagerCleanUp
Diffstat (limited to 'app/scripts/keyring-controller.js')
-rw-r--r-- | app/scripts/keyring-controller.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js index b56b5520f..5fbd731f3 100644 --- a/app/scripts/keyring-controller.js +++ b/app/scripts/keyring-controller.js @@ -246,6 +246,15 @@ class KeyringController extends EventEmitter { return this.fullUpdate() } + // Get Selected Account + // + // returns String + // + // Gets the state's `selectedAccount` value + getSelectedAccount () { + return this.store.getState().selectedAccount + } + // Save Account Label // @string account // @string label |