Dont lose sighash when signing with multiple keys
This commit is contained in:
parent
de4413745d
commit
24dc84d614
|
@ -510,7 +510,7 @@ Transaction.prototype.sign = function(privateKey, sigtype) {
|
||||||
var self = this;
|
var self = this;
|
||||||
if (_.isArray(privateKey)) {
|
if (_.isArray(privateKey)) {
|
||||||
_.each(privateKey, function(privateKey) {
|
_.each(privateKey, function(privateKey) {
|
||||||
self.sign(privateKey);
|
self.sign(privateKey, sigtype);
|
||||||
});
|
});
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue