File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 41
41
// Request is a pending request to allow tracking it and delivering a response
42
42
// back to the requester on their chosen channel.
43
43
type Request struct {
44
- peer * Peer // Peer to which this request belogs for untracking
44
+ peer * Peer // Peer to which this request belongs for untracking
45
45
id uint64 // Request ID to match up replies to
46
46
47
47
sink chan * Response // Channel to deliver the response on
@@ -224,7 +224,7 @@ func (p *Peer) dispatcher() {
224
224
switch {
225
225
case res .Req == nil :
226
226
// Response arrived with an untracked ID. Since even cancelled
227
- // requests are tracked until fulfilment , a dangling response
227
+ // requests are tracked until fulfillment , a dangling response
228
228
// means the remote peer implements the protocol badly.
229
229
resOp .fail <- errDanglingResponse
230
230
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ type Peer struct {
84
84
txBroadcast chan []common.Hash // Channel used to queue transaction propagation requests
85
85
txAnnounce chan []common.Hash // Channel used to queue transaction announcement requests
86
86
87
- reqDispatch chan * request // Dispatch channel to send requests and track then until fulfilment
87
+ reqDispatch chan * request // Dispatch channel to send requests and track then until fulfillment
88
88
reqCancel chan * cancel // Dispatch channel to cancel pending requests and untrack them
89
89
resDispatch chan * response // Dispatch channel to fulfil pending requests and untrack them
90
90
You can’t perform that action at this time.
0 commit comments