diff --git a/breacharbiter.go b/breacharbiter.go index 2d89a300b..70eedea24 100644 --- a/breacharbiter.go +++ b/breacharbiter.go @@ -906,10 +906,10 @@ func (b *breachArbiter) createJusticeTx( var witnessWeight int switch input.WitnessType() { case lnwallet.CommitmentNoDelay: - witnessWeight = lnwallet.ToLocalPenaltyWitnessSize + witnessWeight = lnwallet.P2WKHWitnessSize case lnwallet.CommitmentRevoke: - witnessWeight = lnwallet.P2WKHWitnessSize + witnessWeight = lnwallet.ToLocalPenaltyWitnessSize case lnwallet.HtlcOfferedRevoke: witnessWeight = lnwallet.OfferedHtlcPenaltyWitnessSize