mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/geth: fix capitalization log messages
This commit is contained in:
parent
997eb2eb2c
commit
8eb2786762
1 changed files with 3 additions and 3 deletions
|
|
@ -416,7 +416,7 @@ func ExportSnapshotPreimages(chain *core.BlockChain, fn string, root common.Hash
|
||||||
defer close(hashCh)
|
defer close(hashCh)
|
||||||
accIt, err := chain.Snapshots().AccountIterator(root, common.Hash{})
|
accIt, err := chain.Snapshots().AccountIterator(root, common.Hash{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("failed to create account iterator", "error", err)
|
log.Error("Failed to create account iterator", "error", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
defer accIt.Release()
|
defer accIt.Release()
|
||||||
|
|
@ -425,7 +425,7 @@ func ExportSnapshotPreimages(chain *core.BlockChain, fn string, root common.Hash
|
||||||
for accIt.Next() {
|
for accIt.Next() {
|
||||||
acc, err := types.FullAccount(accIt.Account())
|
acc, err := types.FullAccount(accIt.Account())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("failed to get full account", "error", err)
|
log.Error("Failed to get full account", "error", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
hashCh <- hashAndPreimageSize{Hash: accIt.Hash(), Size: 20}
|
hashCh <- hashAndPreimageSize{Hash: accIt.Hash(), Size: 20}
|
||||||
|
|
@ -433,7 +433,7 @@ func ExportSnapshotPreimages(chain *core.BlockChain, fn string, root common.Hash
|
||||||
if acc.Root != (common.Hash{}) && acc.Root != types.EmptyRootHash {
|
if acc.Root != (common.Hash{}) && acc.Root != types.EmptyRootHash {
|
||||||
stIt, err := chain.Snapshots().StorageIterator(root, accIt.Hash(), common.Hash{})
|
stIt, err := chain.Snapshots().StorageIterator(root, accIt.Hash(), common.Hash{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("failed to create storage iterator", "error", err)
|
log.Error("Failed to create storage iterator", "error", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
for stIt.Next() {
|
for stIt.Next() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue