Skip to content

Commit

Permalink
prettier: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
landabaso committed Dec 9, 2023
1 parent 422b29a commit 44a279d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ledger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,12 +389,12 @@ export async function ledgerPolicyFromPsbtInput({
)
? 'pkh(@0/**)'
: originPath.match(new RegExp(`^/84'/${coinType}'/(\\d+)'$`))
? 'wpkh(@0/**)'
: originPath.match(new RegExp(`^/49'/${coinType}'/(\\d+)'$`))
? 'sh(wpkh(@0/**))'
: originPath.match(new RegExp(`^/86'/${coinType}'/(\\d+)'$`))
? 'tr(@0/**)'
: undefined;
? 'wpkh(@0/**)'
: originPath.match(new RegExp(`^/49'/${coinType}'/(\\d+)'$`))
? 'sh(wpkh(@0/**))'
: originPath.match(new RegExp(`^/86'/${coinType}'/(\\d+)'$`))
? 'tr(@0/**)'
: undefined;
if (standardTemplate) {
const xpub = await getLedgerXpub({
originPath,
Expand Down

0 comments on commit 44a279d

Please sign in to comment.