diff --git a/docs/architecture/adr-010-modular-antehandler.md b/docs/architecture/adr-010-modular-antehandler.md index 386af1a775..4eb5b8855f 100644 --- a/docs/architecture/adr-010-modular-antehandler.md +++ b/docs/architecture/adr-010-modular-antehandler.md @@ -142,7 +142,7 @@ type ModuleManager struct { } func (mm ModuleManager) GetAnteHandler() AnteHandler { - retun Chainer(mm.AnteHandlerOrder) + return Chainer(mm.AnteHandlerOrder) } ``` diff --git a/docs/architecture/adr-028-public-key-addresses.md b/docs/architecture/adr-028-public-key-addresses.md index a8edc7671b..100049b55d 100644 --- a/docs/architecture/adr-028-public-key-addresses.md +++ b/docs/architecture/adr-028-public-key-addresses.md @@ -207,7 +207,7 @@ For backward compatibility with the existing `authtypes.NewModuleAddress`, we ad ```go func Module(moduleName string, derivationKeys ...[]byte) []byte{ if len(derivationKeys) == 0 { - return authtypes.NewModuleAddress(modulenName) // legacy case + return authtypes.NewModuleAddress(moduleName) // legacy case } submoduleAddress := Hash("module", []byte(moduleName) + 0 + key) return fold((a, k) => Derive(a, k), subsubKeys, submoduleAddress)