watchtower/wtpolicy: properly set DefaultSweepFeeRate and MinSweepFeeRate
These values were intended to be 10 sat/vbyte and 4 sat/vbyte respectively, but the conversion was done incorrectly.
This commit is contained in:
parent
4c80423ea6
commit
1d2aba8cd4
@ -27,11 +27,11 @@ const (
|
|||||||
|
|
||||||
// DefaultSweepFeeRate specifies the fee rate used to construct justice
|
// DefaultSweepFeeRate specifies the fee rate used to construct justice
|
||||||
// transactions. The value is expressed in satoshis per kilo-weight.
|
// transactions. The value is expressed in satoshis per kilo-weight.
|
||||||
DefaultSweepFeeRate = lnwallet.SatPerKWeight(40000)
|
DefaultSweepFeeRate = lnwallet.SatPerKWeight(2500)
|
||||||
|
|
||||||
// MinSweepFeeRate is the minimum sweep fee rate a client may use in its
|
// MinSweepFeeRate is the minimum sweep fee rate a client may use in its
|
||||||
// policy, the current value is 4 sat/kw.
|
// policy, the current value is 4 sat/vbyte.
|
||||||
MinSweepFeeRate = lnwallet.SatPerKWeight(4000)
|
MinSweepFeeRate = lnwallet.SatPerKWeight(1000)
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user