sweep: ensure we factor in extra change addrs in MaxFeeRateAllowed

This commit is contained in:
Olaoluwa Osuntokun committed 2024-10-02 18:10:14 -07:00
1 parent f2adabb989
commit bdaa9f4146
4 files changed
+48 -10

No files matched your search

+2 -1
View File
@@ -262,7 +262,8 @@ func getWeightEstimate(inputs []input.Input, outputs []*wire.TxOut,
default:
// Unknown script type.
return nil, nil, errors.New("unknown script type")
return nil, nil, fmt.Errorf("unknown script "+
"type: %x", outputPkScript)
}
}