tests/payments: add null data tests

This commit is contained in:
Daniel Cousens 2018-07-03 22:33:22 +10:00
parent 8aa4c8fdd4
commit d886e76abd
2 changed files with 64 additions and 1 deletions

View file

@ -3,7 +3,7 @@
const assert = require('assert')
const u = require('./payments.utils')
;['p2ms', 'p2pk', 'p2pkh', 'p2sh', 'p2wpkh', 'p2wsh'].forEach(function (p) {
;['p2data', 'p2ms', 'p2pk', 'p2pkh', 'p2sh', 'p2wpkh', 'p2wsh'].forEach(function (p) {
describe(p, function () {
const fn = require('../src/payments/' + p)
const fixtures = require('./fixtures/' + p)