Use the exposed interface to sighash on tests

This commit is contained in:
Esteban Ordano 2015-01-27 11:18:21 -03:00
parent 291df1ae30
commit da90ff8617
1 changed files with 4 additions and 3 deletions

View File

@ -4,9 +4,10 @@ var buffer = require('buffer');
var chai = require('chai');
var should = chai.should();
var Script = require('../../lib/script');
var Transaction = require('../../lib/transaction');
var sighash = require('../../lib/transaction/sighash');
var bitcore = require('../../');
var Script = bitcore.Script;
var Transaction = bitcore.Transaction;
var sighash = Transaction.sighash;
var vectors_sighash = require('../data/sighash.json');