Skip to content

Commit b7eb080

Browse files
authored
Merge pull request #6195 from carrychair/master
chore: make function comment match function name
2 parents 2943f30 + 67dfe52 commit b7eb080

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)