p2p: fix comment

Signed-off-by: stayweek <jiangtengtao@outlook.com>
This commit is contained in:
stayweek 2024-04-01 13:54:54 +08:00
parent 6c9f702982
commit 16853448ba

View file

@ -37,7 +37,7 @@ const talkHandlerLaunchTimeout = 400 * time.Millisecond
// //
// Note that talk handlers are expected to come up with a response very quickly, within at // Note that talk handlers are expected to come up with a response very quickly, within at
// most 200ms or so. If the handler takes longer than that, the remote end may time out // most 200ms or so. If the handler takes longer than that, the remote end may time out
// and wont receive the response. // and won't receive the response.
type TalkRequestHandler func(enode.ID, *net.UDPAddr, []byte) []byte type TalkRequestHandler func(enode.ID, *net.UDPAddr, []byte) []byte
type talkSystem struct { type talkSystem struct {