add secret to adv options in #more

This commit is contained in:
Matias Alejo Garcia 2014-10-04 11:30:08 -03:00
commit ffe90f2ecc
5 changed files with 26 additions and 2 deletions

View file

@ -524,6 +524,7 @@ Wallet.prototype._onData = function(senderId, data, ts) {
log.debug('RECV', senderId, data);
if (data.type !== 'walletId' && this.id !== data.walletId) {
log.debug('Received corrupt message:', data)
this.emit('corrupt', senderId);
this.updateTimestamp(ts);
return;

View file

@ -451,7 +451,7 @@ WalletFactory.prototype.joinCreateSession = function(opts, cb) {
};
if (opts.privateHex && opts.privateHex.length > 1) {
privOpts.extendedPrivateKeyString = privateHex;
privOpts.extendedPrivateKeyString = opts.privateHex;
}
//Create our PrivateK