mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
rpc: fix typo
This commit is contained in:
parent
7dad6f7c6a
commit
a0e4790ca5
2 changed files with 2 additions and 2 deletions
|
|
@ -97,7 +97,7 @@ func NotifierFromContext(ctx context.Context) (*Notifier, bool) {
|
||||||
return n, ok
|
return n, ok
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notifier is tied to a RPC connection that supports subscriptions.
|
// Notifier is tied to an RPC connection that supports subscriptions.
|
||||||
// Server callbacks use the notifier to send notifications.
|
// Server callbacks use the notifier to send notifications.
|
||||||
type Notifier struct {
|
type Notifier struct {
|
||||||
h *handler
|
h *handler
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ type API struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ServerCodec implements reading, parsing and writing RPC messages for the server side of
|
// ServerCodec implements reading, parsing and writing RPC messages for the server side of
|
||||||
// a RPC session. Implementations must be go-routine safe since the codec can be called in
|
// an RPC session. Implementations must be go-routine safe since the codec can be called in
|
||||||
// multiple go-routines concurrently.
|
// multiple go-routines concurrently.
|
||||||
type ServerCodec interface {
|
type ServerCodec interface {
|
||||||
peerInfo() PeerInfo
|
peerInfo() PeerInfo
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue