diff options
Diffstat (limited to 'dht/Announcer.hs')
-rw-r--r-- | dht/Announcer.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dht/Announcer.hs b/dht/Announcer.hs index 98fcdf94..e7c0bcd2 100644 --- a/dht/Announcer.hs +++ b/dht/Announcer.hs | |||
@@ -63,7 +63,7 @@ decodeAnnounceKey _ k = AnnounceKey k | |||
63 | -- themselves, they are typically bootstrapped using 'scheduleImmediately' with | 63 | -- themselves, they are typically bootstrapped using 'scheduleImmediately' with |
64 | -- 'NewAnnouncement' which triggers the ordinary recurring scheduling of | 64 | -- 'NewAnnouncement' which triggers the ordinary recurring scheduling of |
65 | -- 'Announce'. | 65 | -- 'Announce'. |
66 | data ScheduledItem = ScheduledItem (Announcer -> AnnounceKey -> POSIXTime -> STM (IO ())) | 66 | newtype ScheduledItem = ScheduledItem (Announcer -> AnnounceKey -> POSIXTime -> STM (IO ())) |
67 | deriving Generics.Generic | 67 | deriving Generics.Generic |
68 | 68 | ||
69 | 69 | ||