Skip to content

Commit bd62506

Browse files
OttoAllmendingerllm-git
andcommitted
feat(utxo-staking): export sortedKeys function for use in unbonding
Export the sortedKeys function so it can be used in unbonding withdraw flow. Issue: BTC-2319 Co-authored-by: llm-git <[email protected]>
1 parent f2e2b13 commit bd62506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/utxo-staking/src/babylon/descriptor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function pk(b: Buffer): ast.MiniscriptNode {
1717
return { 'v:pk': b.toString('hex') };
1818
}
1919

20-
function sortedKeys(keys: Buffer[]): Buffer[] {
20+
export function sortedKeys(keys: Buffer[]): Buffer[] {
2121
return [...keys].sort((a, b) => a.compare(b));
2222
}
2323

0 commit comments

Comments
 (0)