Dont lose sighash when signing with multiple keys

This commit is contained in:
Esteban Ordano 2014-12-18 02:19:39 -03:00
parent de4413745d
commit 24dc84d614
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ Transaction.prototype.sign = function(privateKey, sigtype) {
var self = this;
if (_.isArray(privateKey)) {
_.each(privateKey, function(privateKey) {
self.sign(privateKey);
self.sign(privateKey, sigtype);
});
return this;
}