Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
1e4becb5
Unverified
Commit
1e4becb5
authored
Nov 01, 2021
by
chuwt
Committed by
GitHub
Nov 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpc/client: fix typo (#23834)
parent
ff844918
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
client.go
rpc/client.go
+2
-2
No files found.
rpc/client.go
View file @
1e4becb5
...
@@ -426,12 +426,12 @@ func (c *Client) Notify(ctx context.Context, method string, args ...interface{})
...
@@ -426,12 +426,12 @@ func (c *Client) Notify(ctx context.Context, method string, args ...interface{})
return
c
.
send
(
ctx
,
op
,
msg
)
return
c
.
send
(
ctx
,
op
,
msg
)
}
}
// EthSubscribe registers a subscripion under the "eth" namespace.
// EthSubscribe registers a subscrip
t
ion under the "eth" namespace.
func
(
c
*
Client
)
EthSubscribe
(
ctx
context
.
Context
,
channel
interface
{},
args
...
interface
{})
(
*
ClientSubscription
,
error
)
{
func
(
c
*
Client
)
EthSubscribe
(
ctx
context
.
Context
,
channel
interface
{},
args
...
interface
{})
(
*
ClientSubscription
,
error
)
{
return
c
.
Subscribe
(
ctx
,
"eth"
,
channel
,
args
...
)
return
c
.
Subscribe
(
ctx
,
"eth"
,
channel
,
args
...
)
}
}
// ShhSubscribe registers a subscripion under the "shh" namespace.
// ShhSubscribe registers a subscrip
t
ion under the "shh" namespace.
// Deprecated: use Subscribe(ctx, "shh", ...).
// Deprecated: use Subscribe(ctx, "shh", ...).
func
(
c
*
Client
)
ShhSubscribe
(
ctx
context
.
Context
,
channel
interface
{},
args
...
interface
{})
(
*
ClientSubscription
,
error
)
{
func
(
c
*
Client
)
ShhSubscribe
(
ctx
context
.
Context
,
channel
interface
{},
args
...
interface
{})
(
*
ClientSubscription
,
error
)
{
return
c
.
Subscribe
(
ctx
,
"shh"
,
channel
,
args
...
)
return
c
.
Subscribe
(
ctx
,
"shh"
,
channel
,
args
...
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment