multi: introduce config-level DustThreshold for defining threshold

This commit is contained in:
eugene
2021-09-28 13:50:11 -04:00
parent 3897baff0a
commit 702b3a3258
6 changed files with 23 additions and 5 deletions

View File

@@ -189,6 +189,7 @@ func initSwitchWithDB(startingHeight uint32, db *channeldb.DB) (*Switch, error)
HtlcNotifier: &mockHTLCNotifier{},
Clock: clock.NewDefaultClock(),
HTLCExpiry: time.Hour,
DustThreshold: DefaultDustThreshold,
}
return New(cfg, startingHeight)