fixes on jsdoc

This commit is contained in:
Matias Alejo Garcia 2014-11-25 13:58:10 -03:00
commit 10938b43d8
3 changed files with 6 additions and 5 deletions

View file

@ -419,6 +419,9 @@ TxProposal.prototype.setCopayers = function(senderId, keyMap, readOnlyPeers) {
// merge will not merge any metadata.
TxProposal.prototype.merge = function(incoming) {
preconditions.checkArgument(_.isFunction(incoming._sync));
incoming._sync();
// Note that all inputs must have the same number of signatures, so checking
// one (0) is OK.
var before = this._inputSigners[0].length;