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
c36f8fef
Unverified
Commit
c36f8fef
authored
Oct 18, 2021
by
Ha ĐANG
Committed by
GitHub
Oct 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trie: fix typos (#23768)
parent
433f0919
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
database.go
trie/database.go
+2
-2
No files found.
trie/database.go
View file @
c36f8fef
...
@@ -794,8 +794,8 @@ type cleaner struct {
...
@@ -794,8 +794,8 @@ type cleaner struct {
// Put reacts to database writes and implements dirty data uncaching. This is the
// Put reacts to database writes and implements dirty data uncaching. This is the
// post-processing step of a commit operation where the already persisted trie is
// post-processing step of a commit operation where the already persisted trie is
// removed from the dirty cache and moved into the clean cache. The reason behind
// removed from the dirty cache and moved into the clean cache. The reason behind
// the two-phase commit is to ensure
ensure data availability while moving from
// the two-phase commit is to ensure
data availability while moving from memory
//
memory
to disk.
// to disk.
func
(
c
*
cleaner
)
Put
(
key
[]
byte
,
rlp
[]
byte
)
error
{
func
(
c
*
cleaner
)
Put
(
key
[]
byte
,
rlp
[]
byte
)
error
{
hash
:=
common
.
BytesToHash
(
key
)
hash
:=
common
.
BytesToHash
(
key
)
...
...
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