sweep: use p2tr output as change weight
This commit is contained in:
1 parent
ac9ca024a4
commit
b47c1da07d
2 files changed
+7
-7
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user