Skip to content

Commit a384231

Browse files
Use binary literal instead of hex literal for alignment with PROTOCOL.md
1 parent e526264 commit a384231

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/replit_river/rpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
GenericRpcHandlerBuilder = Callable[
4848
[str, Channel[Any], Channel[Any]], Coroutine[None, None, None]
4949
]
50-
ACK_BIT = 0x0001
51-
STREAM_OPEN_BIT = 0x0002
50+
ACK_BIT = 0b00001
51+
STREAM_OPEN_BIT = 0b00010
5252

5353
# these codes are retriable
5454
# if the server sends a response with one of these codes,

0 commit comments

Comments
 (0)