Check fail when sending incomplete tx

This commit is contained in:
Ivan Socolsky 2014-08-27 09:47:45 -03:00
commit 63fb94c2be
3 changed files with 17 additions and 3 deletions

View file

@ -8,7 +8,6 @@ function Tx() {
this.ins = [{s: VALID_SCRIPTSIG_BUF }];
};
Tx.prototype.getHashType = function() {
return 1;
};
@ -20,7 +19,6 @@ Tx.prototype.hashForSignature = function() {
return new Buffer('31103626e162f1cbfab6b95b08c9f6e78aae128523261cb37f8dfd4783cb09a7', 'hex');
};
function FakeBuilder() {
this.test = 1;
this.tx = new Tx();