Skip to content

Commit c69aa19

Browse files
committed
comments
1 parent f0ae52b commit c69aa19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

runtime/app.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import (
3232
authtx "github.com/cosmos/cosmos-sdk/x/auth/tx"
3333
)
3434

35+
// KeyGenF is a function that generates a private key for use by comet.
3536
type KeyGenF = func() (cmtcrypto.PrivKey, error)
3637

3738
// App is a wrapper around BaseApp and ModuleManager that can be used in hybrid
@@ -313,6 +314,7 @@ type hasServicesV1 interface {
313314
RegisterServices(grpc.ServiceRegistrar) error
314315
}
315316

317+
// ValidatorKeyProvider returns a function that generates a private key for use by comet.
316318
func (a *App) ValidatorKeyProvider() KeyGenF {
317319
return func() (cmtcrypto.PrivKey, error) {
318320
return cmted25519.GenPrivKey(), nil

0 commit comments

Comments
 (0)