Skip to content

Commit 892afa1

Browse files
committed
chore: fix some function names in comment
Signed-off-by: nuxtreact <nuxtreact@outlook.com>
1 parent 081b777 commit 892afa1

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

.changelog/6457.trivial.md

Whitespace-only changes.

go/runtime/history/history.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ func (h *runtimeHistory) GetEarliestBlock(ctx context.Context) (*block.Block, er
287287
return annBlk.Block, nil
288288
}
289289

290-
// CanPruneConsenus returns no error when the specified consensus height has been already reindexed.
290+
// CanPruneConsensus returns no error when the specified consensus height has been already reindexed.
291291
//
292292
// Implements consensus.api.StatePruneHandler
293293
func (h *runtimeHistory) CanPruneConsensus(height int64) error {

go/worker/compute/executor/committee/trust.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/oasisprotocol/oasis-core/go/runtime/host"
1010
)
1111

12-
// startRuntimeTrustSync asks the runtime to start syncing its light client up to the current
12+
// startRuntimeTrustSyncLocked asks the runtime to start syncing its light client up to the current
1313
// latest height. If the runtime does not actually use a trust root, this will be a no-op.
1414
//
1515
// When syncing is completed, the runtimeTrustSycned flag will be set.

0 commit comments

Comments
 (0)