From cd313eba248f41e573a71b58152f863788a72bed Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 10 Aug 2022 18:25:35 -0700 Subject: [PATCH] contractcourt: the breach arb now uses P2TR outputs for sweep addrs --- contractcourt/breacharbiter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contractcourt/breacharbiter.go b/contractcourt/breacharbiter.go index b5f7583cc..c6fc6c94e 100644 --- a/contractcourt/breacharbiter.go +++ b/contractcourt/breacharbiter.go @@ -1347,9 +1347,9 @@ func (b *BreachArbiter) createSweepTx(inputs []input.Input) (*wire.MsgTx, spendableOutputs = make([]input.Input, 0, len(inputs)) // The justice transaction we construct will be a segwit transaction - // that pays to a p2wkh output. Components such as the version, + // that pays to a p2tr output. Components such as the version, // nLockTime, and output are already included in the TxWeightEstimator. - weightEstimate.AddP2WKHOutput() + weightEstimate.AddP2TROutput() // Next, we iterate over the breached outputs contained in the // retribution info. For each, we switch over the witness type such