fix sighash opts + add tests

This commit is contained in:
Matias Alejo Garcia 2014-09-09 08:42:32 -03:00
commit 765d3dd658
2 changed files with 20 additions and 2 deletions

View file

@ -107,7 +107,7 @@ inherits(Wallet, events.EventEmitter);
*/
Wallet.builderOpts = {
lockTime: null,
signhash: bitcore.Transaction.SIGNHASH_ALL,
signhash: bitcore.Transaction.SIGHASH_ALL,
fee: undefined,
feeSat: undefined,
};