Skip to content

Commit 67dfe52

Browse files
carrychairpeternose
authored andcommitted
chore: make function comment match function name
Signed-off-by: carrychair <linghuchong404@gmail.com>
1 parent 2943f30 commit 67dfe52

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.changelog/6195.trivial.md

Whitespace-only changes.

go/worker/common/committee/runtime_host.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ func (env *nodeEnvironment) GetTxPool() (txpool.TransactionPool, error) {
2222
return env.n.TxPool, nil
2323
}
2424

25-
// GetIdentity implements RuntimeHostHandlerEnvironment.
25+
// GetNodeIdentity implements RuntimeHostHandlerEnvironment.
2626
func (env *nodeEnvironment) GetNodeIdentity() (*identity.Identity, error) {
2727
return env.n.Identity, nil
2828
}
2929

30-
// GetIdentity implements RuntimeHostHandlerEnvironment.
30+
// GetLightProvider implements RuntimeHostHandlerEnvironment.
3131
func (env *nodeEnvironment) GetLightProvider() (consensusAPI.LightProvider, error) {
3232
return env.n.LightProvider, nil
3333
}

0 commit comments

Comments
 (0)