Skip to content

Commit

Permalink
Fix psbt docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanvl committed Aug 16, 2024
1 parent f68273b commit a9c8a30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
push:
paths:
- 'docs/**'
branches: ['main', 'v1.0']
branches: ['main']

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
// Request the signing of a psbt
// Generates a popup to be confirmed by the user
// Promise will reject or onError will be called if canceled
const psbtRes = await myDogeMask.requestPSBT({ rawTx: 'the raw tx hex', index: 1, /*onSuccess, onError*/);
const psbtRes = await myDogeMask.requestPsbt({ rawTx: 'the raw tx hex', indexes: [1, 2], /*onSuccess, onError*/);
console.log('psbt result', psbtRes);
// { "txId": "b9fc04f226b194684fe24c786be89cae26abf8fcebbf90ff7049d5bc7fa003f0" }

Expand Down
2 changes: 1 addition & 1 deletion scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ if (myDogeMask?.isMyDoge) {
// Request the signing of a psbt
// Generates a popup to be confirmed by the user
// Promise will reject or onError will be called if canceled
const psbtRes = await myDogeMask.requestPSBT({ rawTx: 'the raw tx hex', index: 1, /*onSuccess, onError*/);
const psbtRes = await myDogeMask.requestPsbt({ rawTx: 'the raw tx hex', indexes: [1, 2], /*onSuccess, onError*/);
console.log('psbt result', psbtRes);
// { "txId": "b9fc04f226b194684fe24c786be89cae26abf8fcebbf90ff7049d5bc7fa003f0" }

Expand Down

0 comments on commit a9c8a30

Please sign in to comment.