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
82aa5b1d
Commit
82aa5b1d
authored
Jan 26, 2017
by
Vivek Anand
Committed by
Péter Szilágyi
Jan 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: fix a small typo in blockchain.go (#3611)
parent
1886d03f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
blockchain.go
core/blockchain.go
+1
-1
No files found.
core/blockchain.go
View file @
82aa5b1d
...
...
@@ -853,7 +853,7 @@ func (self *BlockChain) WriteBlock(block *types.Block) (status WriteStatus, err
return
}
// InsertChain will attempt to insert the given chain in to the canonical chain or, otherwise, create a fork. I
t
an error is returned
// InsertChain will attempt to insert the given chain in to the canonical chain or, otherwise, create a fork. I
f
an error is returned
// it will return the index number of the failing block as well an error describing what went wrong (for possible errors see core/errors.go).
func
(
self
*
BlockChain
)
InsertChain
(
chain
types
.
Blocks
)
(
int
,
error
)
{
// Do a sanity check that the provided chain is actually ordered and linked
...
...
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