From 44a279da02a9cdfe5bc2d82b0b933bfb28b2ef26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Landabaso=20D=C3=ADaz?= Date: Sat, 9 Dec 2023 06:51:16 +0100 Subject: [PATCH] prettier: fix formatting --- src/ledger.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ledger.ts b/src/ledger.ts index aeb652f..ee6e6a1 100644 --- a/src/ledger.ts +++ b/src/ledger.ts @@ -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,