fix cases for incomplete transactions
This commit is contained in:
parent
740256772e
commit
e85431861e
3 changed files with 20 additions and 3 deletions
|
|
@ -1063,6 +1063,11 @@ describe('Wallet model', function() {
|
|||
spy.callCount.should.equal(1);
|
||||
};
|
||||
|
||||
it('should validate for undefined', function(done) {
|
||||
var result = 'new';
|
||||
var signhash;
|
||||
testValidate(signhash, result, done);
|
||||
});
|
||||
it('should validate for SIGHASH_ALL', function(done) {
|
||||
var result = 'new';
|
||||
var signhash = Transaction.SIGHASH_ALL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue