Skip to content

Commit 91e4a40

Browse files
Merge pull request #7595 from BitGo/BTC-000
chore(abstract-lightning): export functions
2 parents 02590c5 + aadc2a6 commit 91e4a40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/abstract-lightning/src/lightning/parseWithdrawPsbt.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function parseDerivationPath(derivationPath: string): {
2626
return { purpose, change, addressIndex };
2727
}
2828

29-
function parsePsbtOutputs(psbt: Psbt, network: utxolib.Network): WithdrawBaseOutputUTXO<bigint>[] {
29+
export function parsePsbtOutputs(psbt: Psbt, network: utxolib.Network): WithdrawBaseOutputUTXO<bigint>[] {
3030
const parsedOutputs: WithdrawBaseOutputUTXO<bigint>[] = [];
3131
let bip32Derivation: Bip32Derivation | undefined;
3232

@@ -58,7 +58,7 @@ function parsePsbtOutputs(psbt: Psbt, network: utxolib.Network): WithdrawBaseOut
5858
return parsedOutputs;
5959
}
6060

61-
function verifyChangeAddress(
61+
export function verifyChangeAddress(
6262
output: WithdrawBaseOutputUTXO<bigint>,
6363
accounts: WatchOnlyAccount[],
6464
network: utxolib.Network

0 commit comments

Comments
 (0)