sweep: ensure we factor in extra change addrs in MaxFeeRateAllowed
This commit is contained in:
4 files changed
+48
-10
No files matched your search
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user