add secret to adv options in #more
This commit is contained in:
parent
5d6b943ddd
commit
ffe90f2ecc
5 changed files with 26 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue