fix cases for incomplete transactions

This commit is contained in:
Manuel Araoz 2014-07-25 13:37:12 -03:00
commit e85431861e
3 changed files with 20 additions and 3 deletions

View file

@ -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;