Add name attribute to Payments
This commit is contained in:
parent
8bbe7c7178
commit
c403757ce8
23 changed files with 105 additions and 8 deletions
ts_src/payments
|
@ -29,7 +29,7 @@ export function p2data(a: Payment, opts?: PaymentOpts): Payment {
|
|||
);
|
||||
|
||||
const network = a.network || BITCOIN_NETWORK;
|
||||
const o = { network } as Payment;
|
||||
const o = { name: 'embed', network } as Payment;
|
||||
|
||||
lazy.prop(o, 'output', () => {
|
||||
if (!a.data) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue