Skip to content

Commit fbcf53a

Browse files
chore(utxo-staking): clean up unused code in BabylonDescriptorBuilder
Remove commented-out code that's no longer needed in the descriptor builder class. Issue: BTC-1933
1 parent 4f46881 commit fbcf53a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,6 @@ export class BabylonDescriptorBuilder {
4444
finalityProviderKeys: Buffer[];
4545
} & StakingParams
4646
): BabylonDescriptorBuilder {
47-
/*
48-
49-
const stakerKey = getECKey('staker');
50-
const covenantThreshold = stakingParams.covenantQuorum;
51-
const stakingTimelock = stakingParams.minStakingTimeBlocks;
52-
const unbondingTimelock = stakingParams.unbondingTime;
53-
const vendorBuilder = new vendor.StakingScriptData(
54-
getXOnlyPubkey(stakerKey),
55-
finalityProviderKeys.map(getXOnlyPubkey),
56-
covenantKeys.map(getXOnlyPubkey),
57-
covenantThreshold,
58-
stakingTimelock,
59-
unbondingTimelock
60-
);
61-
*/
6247
return new BabylonDescriptorBuilder(
6348
params.stakerKey,
6449
params.finalityProviderKeys,

0 commit comments

Comments
 (0)