Skip to content

Commit

Permalink
feat(SPV-1340): fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
dzolt-4chain committed Jan 10, 2025
1 parent 19f1d0d commit 26a42a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/admin-add-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ const adminClient = new SpvWalletClient(server, {
const newXPubRes = await adminClient.AdminNewXpub(exampleXPub, { some_metadata: 'example' });
console.log('AdminNewXpub response:', newXPubRes);

const createPaymailRes = await adminClient.AdminCreatePaymail(exampleXPub, examplePaymail, 'Some public name', '');
const createPaymailRes = await adminClient.AdminCreatePaymail(exampleXPub, examplePaymail, 'Some public name', '', {});
console.log('AdminCreatePaymail response:', createPaymailRes);

0 comments on commit 26a42a5

Please sign in to comment.