multi: introduce config-level DustThreshold for defining threshold

This commit is contained in:
eugene committed 2021-09-30 13:44:35 -04:00
1 parent 3897baff0a
commit 702b3a3258
6 files changed
+23 -5

No files matched your search

+1
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)