mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-07 19:30:46 +02:00
lntest: make sure minRelayFeerate is reset
So every test starts with the default minRelayFeerate.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user