Browse Source

input: moved getSatoshisBuffer to general input

patch-2
Braydon Fuller 9 years ago
parent
commit
ce9d092a10
  1. 7
      lib/transaction/input/multisigscripthash.js

7
lib/transaction/input/multisigscripthash.js

@ -89,13 +89,6 @@ MultiSigScriptHashInput.prototype.getScriptCode = function() {
return writer.toBuffer();
};
MultiSigScriptHashInput.prototype.getSatoshisBuffer = function() {
$.checkState(this.output instanceof Output);
$.checkState(this.output._satoshisBN);
var buffer = new BufferWriter().writeUInt64LEBN(this.output._satoshisBN).toBuffer();
return buffer;
};
MultiSigScriptHashInput.prototype.getSighash = function(transaction, privateKey, index, sigtype) {
var self = this;
var hash;

Loading…
Cancel
Save