Skip to content

Commit

Permalink
Merge pull request #361 from chuangjinglu/main
Browse files Browse the repository at this point in the history
chore: fix some function names in comment
  • Loading branch information
qzhodl authored Jan 25, 2025
2 parents 11ce479 + e4b8766 commit bc8defb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ethstorage/p2p/protocol/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ func TestSyncWithPeerShardsOverlay(t *testing.T) {
testSync(t, defaultChunkSize, kvSize, kvEntries, []uint64{0, 1, 2, 3}, lastKvIndex, defaultEncodeType, 6, remotePeers, true)
}

// TestSyncWithExcludedDataOverlay test sync process with local node support multi shards and sync from multi remote peers,
// TestSyncWithExcludedListNotOverlay test sync process with local node support multi shards and sync from multi remote peers,
// and shards supported by peers have overlaid and their excluded list do not have overlaid, it should be sync done.
func TestSyncWithExcludedListNotOverlay(t *testing.T) {
var (
Expand Down
2 changes: 1 addition & 1 deletion ethstorage/p2p/protocol/syncclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ func (s *SyncClient) saveSyncStatus() {
}
}

// saveSyncStatus marshals the remaining sync tasks into leveldb.
// saveStatusLoop marshals the remaining sync tasks into leveldb.
func (s *SyncClient) saveStatusLoop() {
defer s.wg.Done()

Expand Down

0 comments on commit bc8defb

Please sign in to comment.