Skip to content

Commit

Permalink
Fix transaction order
Browse files Browse the repository at this point in the history
  • Loading branch information
eordano committed Dec 18, 2014
1 parent af0cae6 commit a352937
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/transaction/input/multisigscripthash.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ MultiSigScriptHashInput.prototype._updateScript = function() {
};

MultiSigScriptHashInput.prototype._createSignatures = function() {
var reverseOrder = JSUtil.cloneArray(this.signatures).reverse();
return _.map(
_.filter(reverseOrder, function(signature) { return !_.isUndefined(signature); }),
_.filter(this.signatures, function(signature) { return !_.isUndefined(signature); }),
function(signature) {
return BufferUtil.concat([
signature.signature.toDER(),
Expand Down

0 comments on commit a352937

Please sign in to comment.