We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d98737 commit b686044Copy full SHA for b686044
p2p/rlpx.go
@@ -225,6 +225,7 @@ func (c *rlpxConn) ReadAndServe(count *MessageCount) error {
225
GetWitnessRequest: &GetWitnessRequest{
226
Hashes: hashes,
227
},
228
+ RequestId: uint64(time.Now().Unix()),
229
}
230
if err := c.Write(req); err != nil {
231
log.Error().Err(err).Msg("Failed to write GetWitnessPacket request")
@@ -237,6 +238,7 @@ func (c *rlpxConn) ReadAndServe(count *MessageCount) error {
237
238
239
Hashes: []common.Hash{msg.Block.Hash()},
240
241
242
243
244
0 commit comments