htlcswitch: fix duplicate close

The decayed log database opening and closing is managed at a higher
level in config_builder.go.
This commit is contained in:
Joost Jager committed 2022-01-10 08:42:32 +01:00
1 parent 61bffa70f9
commit 7cd7cef6c6
5 files changed
+27 -20

No files matched your search

-3
View File
@@ -158,9 +158,6 @@ func (d *DecayedLog) Stop() error {
d.wg.Wait()
// Close boltdb.
d.db.Close()
return nil
}