Use the exposed interface to sighash on tests
This commit is contained in:
parent
291df1ae30
commit
da90ff8617
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in New Issue