Check fail when sending incomplete tx
This commit is contained in:
parent
64afc4b914
commit
63fb94c2be
3 changed files with 17 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue