aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/keyrings/hd-test.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-11-29 04:43:44 +0800
committerDan Finlay <dan@danfinlay.com>2016-11-29 08:13:03 +0800
commit80e76b45ee67900b5a60da1ddcd8b310f1e92413 (patch)
tree4eff8a2a7718e25afe8958198e3880e22530fdbb /test/unit/keyrings/hd-test.js
parentb8991195829474691f17db3a7a6c9c081f9a95c9 (diff)
downloadtangerine-wallet-browser-80e76b45ee67900b5a60da1ddcd8b310f1e92413.tar.gz
tangerine-wallet-browser-80e76b45ee67900b5a60da1ddcd8b310f1e92413.tar.zst
tangerine-wallet-browser-80e76b45ee67900b5a60da1ddcd8b310f1e92413.zip
Denodeify most of KeyringController
Mostly Fixes #893 A couple methods cache callbacks, and will require a larger refactor to fully denodeify. Specifically, our methods involving web3 requests to sign a tx, sign a message, and approve or cancel either of those. I think we should postpone those until the TxManager refactor, since it will likely handle this response caching itself.
Diffstat (limited to 'test/unit/keyrings/hd-test.js')
-rw-r--r--test/unit/keyrings/hd-test.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/unit/keyrings/hd-test.js b/test/unit/keyrings/hd-test.js
index 2d9e0ffd9..dfc0ec908 100644
--- a/test/unit/keyrings/hd-test.js
+++ b/test/unit/keyrings/hd-test.js
@@ -57,13 +57,11 @@ describe('hd-keyring', function() {
describe('#deserialize a private key', function() {
it('serializes what it deserializes', function(done) {
- console.log('deserializing ' + sampleMnemonic)
keyring.deserialize({
mnemonic: sampleMnemonic,
numberOfAccounts: 1
})
.then(() => {
- console.dir(keyring)
assert.equal(keyring.wallets.length, 1, 'restores two accounts')
return keyring.addAccounts(1)
}).then(() => {