Revert perPeerMsgIdVar type until it properly fixed (#701)

* Revert perPeerMsgIdVar type until it properly fixed

* Add reminder
This commit is contained in:
andri lim 2024-06-12 13:29:57 +07:00 committed by GitHub
parent 4cccf25af7
commit 224048a1d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -1000,7 +1000,8 @@ proc p2pProtocolBackendImpl*(protocol: P2PProtocol): Backend =
var `rlpWriter` = `initRlpWriter`()
const `perProtocolMsgIdVar` {.used.} = `msgId`
let `perPeerMsgIdVar` = `perPeerMsgIdValue`
`append`(`rlpWriter`, `perPeerMsgIdVar`.uint)
# TODO: rlpx should error if perPeerMsgIdVar is signed
`append`(`rlpWriter`, `perPeerMsgIdVar`)
when tracingEnabled:
appendParams.add logSentMsgFields(peerVar, protocol, msgId, paramsToWrite)