mirror of https://github.com/status-im/nim-eth.git
Revert perPeerMsgIdVar type until it properly fixed (#701)
* Revert perPeerMsgIdVar type until it properly fixed * Add reminder
This commit is contained in:
parent
4cccf25af7
commit
224048a1d5
|
@ -1000,7 +1000,8 @@ proc p2pProtocolBackendImpl*(protocol: P2PProtocol): Backend =
|
||||||
var `rlpWriter` = `initRlpWriter`()
|
var `rlpWriter` = `initRlpWriter`()
|
||||||
const `perProtocolMsgIdVar` {.used.} = `msgId`
|
const `perProtocolMsgIdVar` {.used.} = `msgId`
|
||||||
let `perPeerMsgIdVar` = `perPeerMsgIdValue`
|
let `perPeerMsgIdVar` = `perPeerMsgIdValue`
|
||||||
`append`(`rlpWriter`, `perPeerMsgIdVar`.uint)
|
# TODO: rlpx should error if perPeerMsgIdVar is signed
|
||||||
|
`append`(`rlpWriter`, `perPeerMsgIdVar`)
|
||||||
|
|
||||||
when tracingEnabled:
|
when tracingEnabled:
|
||||||
appendParams.add logSentMsgFields(peerVar, protocol, msgId, paramsToWrite)
|
appendParams.add logSentMsgFields(peerVar, protocol, msgId, paramsToWrite)
|
||||||
|
|
Loading…
Reference in New Issue