style: add build output after applying prettier
This commit is contained in:
parent
6526000999
commit
0ad8fbc6ba
22 changed files with 217 additions and 203 deletions
src/payments
|
@ -14,14 +14,13 @@ function stacksEqual(a, b) {
|
|||
}
|
||||
// output: OP_RETURN ...
|
||||
function p2data(a, opts) {
|
||||
if (!a.data &&
|
||||
!a.output)
|
||||
if (!a.data && !a.output)
|
||||
throw new TypeError('Not enough data');
|
||||
opts = Object.assign({ validate: true }, opts || {});
|
||||
typef({
|
||||
network: typef.maybe(typef.Object),
|
||||
output: typef.maybe(typef.Buffer),
|
||||
data: typef.maybe(typef.arrayOf(typef.Buffer))
|
||||
data: typef.maybe(typef.arrayOf(typef.Buffer)),
|
||||
}, a);
|
||||
const network = a.network || networks_1.bitcoin;
|
||||
const o = { network };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue