Merge pull request #1337 from Blockdaemon/nyet-syncing-typo

Fix typo :)
pull/1334/head
Leo Chen 5 years ago committed by GitHub
commit 71e4597a71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      consensus/view_change.go
  2. 2
      node/node_explorer.go

@ -55,7 +55,7 @@ func (mode Mode) String() string {
} else if mode == ViewChanging {
return "ViewChanging"
} else if mode == Syncing {
return "Sycning"
return "Syncing"
} else if mode == Listening {
return "Listening"
}

@ -113,7 +113,7 @@ func (node *Node) AddNewBlockForExplorer() {
if err := node.AddNewBlock(blocks[0]); err == nil {
// Clean up the blocks to avoid OOM.
node.Consensus.PbftLog.DeleteBlockByNumber(blocks[0].NumberU64())
// Do dump all blocks from state sycning for explorer one time
// Do dump all blocks from state syncing for explorer one time
// TODO: some blocks can be dumped before state syncing finished.
// And they would be dumped again here. Please fix it.
once.Do(func() {

Loading…
Cancel
Save