refactor(pubsub): do not raise exceptions on publish (#1244)

This commit is contained in:
richΛrd
2025-02-06 21:30:21 -04:00
committed by GitHub
parent a4f0a638e7
commit 78a4344054
4 changed files with 7 additions and 7 deletions

View File

@@ -194,7 +194,7 @@ method init*(f: FloodSub) =
method publish*(
f: FloodSub, topic: string, data: seq[byte]
): Future[int] {.async: (raises: [LPError]).} =
): Future[int] {.async: (raises: []).} =
# base returns always 0
discard await procCall PubSub(f).publish(topic, data)