diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-09-13 02:07:25 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-09-13 02:13:26 +0800 |
commit | 363c2a0939aba5fa73e08ff8e6d65581031242d5 (patch) | |
tree | 1cac1090cd3813d57752d4cd2b77e3d26f6f6aac /app/scripts/lib/id-management.js | |
parent | fcc9ca812e557fd5ecc547f5eb597069788d6c00 (diff) | |
download | tangerine-wallet-browser-363c2a0939aba5fa73e08ff8e6d65581031242d5.tar.gz tangerine-wallet-browser-363c2a0939aba5fa73e08ff8e6d65581031242d5.tar.zst tangerine-wallet-browser-363c2a0939aba5fa73e08ff8e6d65581031242d5.zip |
Fix account unlocking
SubmitPassword was not creating a new id-management
This is because I broke up the old "createIdmgmt" method to not perform as much conditional logic.
Now the pieces are reusable and do what they should do.
Diffstat (limited to 'app/scripts/lib/id-management.js')
-rw-r--r-- | app/scripts/lib/id-management.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/scripts/lib/id-management.js b/app/scripts/lib/id-management.js index 9b8ceb415..e250943a0 100644 --- a/app/scripts/lib/id-management.js +++ b/app/scripts/lib/id-management.js @@ -1,3 +1,11 @@ +/* ID Management + * + * This module exists to hold the decrypted credentials for the current session. + * It therefore exposes sign methods, because it is able to perform these + * with noa dditional authentication, because its very instantiation + * means the vault is unlocked. + */ + const ethUtil = require('ethereumjs-util') const Transaction = require('ethereumjs-tx') |