Skip to content

Commit

Permalink
fix: waku_filter_v2/common: PEER_DIAL_FAILURE ret code change: 200 ->…
Browse files Browse the repository at this point in the history
… 504 (#2236)
  • Loading branch information
Ivansete-status committed Nov 30, 2023
1 parent 5883dbe commit 6301bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waku/waku_filter_v2/common.nim
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ const
type
FilterSubscribeErrorKind* {.pure.} = enum
UNKNOWN = uint32(000)
PEER_DIAL_FAILURE = uint32(200) # TODO shouldn't this be an error code, e.g. 504 Gateway Timeout?
BAD_RESPONSE = uint32(300)
BAD_REQUEST = uint32(400)
NOT_FOUND = uint32(404)
SERVICE_UNAVAILABLE = uint32(503)
PEER_DIAL_FAILURE = uint32(504)

FilterSubscribeError* = object
case kind*: FilterSubscribeErrorKind
Expand Down

0 comments on commit 6301bec

Please sign in to comment.