Add name attribute to Payments
This commit is contained in:
parent
8bbe7c7178
commit
c403757ce8
23 changed files with 105 additions and 8 deletions
src/payments
|
@ -24,7 +24,7 @@ function p2data(a, opts) {
|
|||
a,
|
||||
);
|
||||
const network = a.network || networks_1.bitcoin;
|
||||
const o = { network };
|
||||
const o = { name: 'embed', network };
|
||||
lazy.prop(o, 'output', () => {
|
||||
if (!a.data) return;
|
||||
return bscript.compile([OPS.OP_RETURN].concat(a.data));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue