fix test 13
This commit is contained in:
parent
5ace0c7e46
commit
50348a171f
2 changed files with 11 additions and 22 deletions
|
|
@ -370,10 +370,10 @@ Network.prototype.send = function(dest, payload, cb) {
|
|||
};
|
||||
|
||||
|
||||
Network.prototype.encode = function(copayerId, payload) {
|
||||
Network.prototype.encode = function(copayerId, payload, nonce) {
|
||||
this.iterateNonce();
|
||||
var opts = {
|
||||
nonce: this.networkNonce
|
||||
nonce: nonce || this.networkNonce
|
||||
};
|
||||
var copayerIdBuf = new Buffer(copayerId, 'hex');
|
||||
var message = AuthMessage.encode(copayerIdBuf, this.getKey(), payload, opts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue