lntest: make sure minRelayFeerate is reset

So every test starts with the default minRelayFeerate.
This commit is contained in:
yyforyongyu committed 2024-11-11 20:54:10 +08:00
1 parent 5a8026aba9
commit e7d0754615
1 file changed
+1
+1
View File
@@ -159,6 +159,7 @@ func (f *FeeService) SetMinRelayFeerate(fee chainfee.SatPerKVByte) {
func (f *FeeService) Reset() {
f.lock.Lock()
f.feeRateMap = make(map[uint32]uint32)
f.minRelayFeerate = chainfee.FeePerKwFloor.FeePerKVByte()
f.lock.Unlock()
// Initialize default fee estimate.