sweep: use p2tr output as change weight

This commit is contained in:
Eugene Siegel authored and eugene committed 2023-12-14 12:15:34 -05:00
1 parent ac9ca024a4
commit b47c1da07d
2 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ func (t *txInputSetState) weightEstimate(change bool) *weightEstimator {
// Add a change output to the weight estimate if requested.
if change {
weightEstimate.addP2WKHOutput()
weightEstimate.addP2TROutput()
}
return weightEstimate