scan is working!

This commit is contained in:
Matias Alejo Garcia 2014-08-20 21:05:44 -04:00
commit c1564ae015
2 changed files with 3 additions and 1 deletions

View file

@ -216,6 +216,7 @@ WalletFactory.prototype.decodeSecret = function(secret) {
WalletFactory.prototype.joinCreateSession = function(secret, nickname, passphrase, privateHex, cb) {
console.log('[WalletFactory.js.218:privateHex:]',privateHex); //TODO
var self = this;
var s = self.decodeSecret(secret);
if (!s) return cb('badSecret');
@ -228,6 +229,7 @@ WalletFactory.prototype.joinCreateSession = function(secret, nickname, passphras
privOpts.extendedPrivateKeyString = privateHex;
}
console.log('[WalletFactory.js.229:privOpts:]',privOpts); //TODO
//Create our PrivateK
var privateKey = new PrivateKey(privOpts);
this.log('\t### PrivateKey Initialized');