Fix compiler errors, tests, and scripts

This commit is contained in:
junderw 2018-12-26 14:25:33 +09:00
parent e855bde3b3
commit d684a6b2ef
No known key found for this signature in database
GPG key ID: B256185D3A971908
60 changed files with 145 additions and 57 deletions

View file

@ -4,7 +4,7 @@ const u = require('./payments.utils')
;['embed', 'p2ms', 'p2pk', 'p2pkh', 'p2sh', 'p2wpkh', 'p2wsh'].forEach(function (p) {
describe(p, function () {
const fn = require('../src/payments/' + p)
const fn = require('../dist/src/payments/' + p)
const fixtures = require('./fixtures/' + p)
fixtures.valid.forEach(function (f, i) {