fixing review comments & linters

This commit is contained in:
aya 2024-10-03 17:18:40 +03:00
parent 1d5baca63c
commit 422c4dafb3
1 changed files with 2 additions and 4 deletions

View File

@ -686,9 +686,8 @@ suite "GossipSub internal":
111, 98, 97, 114, 16, 10, 42, 5, 10, 3, 49, 50, 51, 111, 98, 97, 114, 16, 10, 42, 5, 10, 3, 49, 50, 51,
] #encoded using protoc cmd tool ] #encoded using protoc cmd tool
let encodedMsg = encodeRpcMsg(rpcMsg, true)
check: check:
encodedExpected == encodedMsg encodedExpected == encodedMsg
asyncTest "Check RPCMsg decoding": asyncTest "Check RPCMsg decoding":
@ -713,9 +712,8 @@ suite "GossipSub internal":
3, 10, 1, 49, 3, 10, 1, 49,
] ]
var rpcMsg = decodeRpcMsg(encodedMsg).value
check: check:
rpcMsg == originMessage rpcMsg == originMessage
asyncTest "handleIHave/Iwant tests": asyncTest "handleIHave/Iwant tests":