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
dc4c2ae87e
commit
c0b1f10f1e
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ func (s *Server) SetHTTPBodyLimit(limit int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// RegisterName creates a service for the given receiver type under the given name. When no
|
// RegisterName creates a service for the given receiver type under the given name. When no
|
||||||
// methods on the given receiver match the criteria to be either a RPC method or a
|
// methods on the given receiver match the criteria to be either an RPC method or a
|
||||||
// subscription an error is returned. Otherwise a new service is created and added to the
|
// subscription an error is returned. Otherwise a new service is created and added to the
|
||||||
// service collection this server provides to clients.
|
// service collection this server provides to clients.
|
||||||
func (s *Server) RegisterName(name string, receiver interface{}) error {
|
func (s *Server) RegisterName(name string, receiver interface{}) error {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue