Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
vicotor
mybee
Commits
224cdae9
Unverified
Commit
224cdae9
authored
May 31, 2021
by
chuwt
Committed by
GitHub
May 31, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix comment typo (#1880)
parent
c0f60e24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pool.go
pkg/bmt/pool.go
+1
-1
chain.go
pkg/node/chain.go
+1
-1
No files found.
pkg/bmt/pool.go
View file @
224cdae9
...
@@ -97,7 +97,7 @@ type tree struct {
...
@@ -97,7 +97,7 @@ type tree struct {
buffer
[]
byte
buffer
[]
byte
}
}
// node is a reus
e
able segment hasher representing a node in a BMT.
// node is a reusable segment hasher representing a node in a BMT.
type
node
struct
{
type
node
struct
{
isLeft
bool
// whether it is left side of the parent double segment
isLeft
bool
// whether it is left side of the parent double segment
parent
*
node
// pointer to parent node in the BMT
parent
*
node
// pointer to parent node in the BMT
...
...
pkg/node/chain.go
View file @
224cdae9
...
@@ -31,7 +31,7 @@ const (
...
@@ -31,7 +31,7 @@ const (
)
)
// InitChain will initialize the Ethereum backend at the given endpoint and
// InitChain will initialize the Ethereum backend at the given endpoint and
// set up the Transacton Service to interact with it using the provided signer.
// set up the Transact
i
on Service to interact with it using the provided signer.
func
InitChain
(
func
InitChain
(
ctx
context
.
Context
,
ctx
context
.
Context
,
logger
logging
.
Logger
,
logger
logging
.
Logger
,
...
...
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