Skip to content

Commit

Permalink
fixing review comments & linters
Browse files Browse the repository at this point in the history
  • Loading branch information
AYAHASSAN287 committed Oct 3, 2024
1 parent 1d5baca commit 422c4da
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/pubsub/testgossipinternal.nim
Original file line number Diff line number Diff line change
Expand Up @@ -686,9 +686,8 @@ suite "GossipSub internal":
111, 98, 97, 114, 16, 10, 42, 5, 10, 3, 49, 50, 51,
] #encoded using protoc cmd tool


let encodedMsg = encodeRpcMsg(rpcMsg, true)
check:

encodedExpected == encodedMsg

asyncTest "Check RPCMsg decoding":
Expand All @@ -713,9 +712,8 @@ suite "GossipSub internal":
3, 10, 1, 49,
]


var rpcMsg = decodeRpcMsg(encodedMsg).value
check:

rpcMsg == originMessage

asyncTest "handleIHave/Iwant tests":
Expand Down

0 comments on commit 422c4da

Please sign in to comment.