From c1553f57e964c4b2063f7ecd3b3b249b3bbe722d Mon Sep 17 00:00:00 2001 From: Sridhar Ganesan Date: Mon, 16 Jul 2018 23:06:16 +0200 Subject: [PATCH] Using func type instead of auth.Account as cosmos-sdk has changed --- cmd/cosmos-sdk-cli/template/app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cosmos-sdk-cli/template/app/app.go b/cmd/cosmos-sdk-cli/template/app/app.go index da78acf40..465acbf0f 100644 --- a/cmd/cosmos-sdk-cli/template/app/app.go +++ b/cmd/cosmos-sdk-cli/template/app/app.go @@ -56,7 +56,7 @@ func NewMyAwesomeProjectApp(logger log.Logger, db dbm.DB) *MyAwesomeProjectApp { app.accountMapper = auth.NewAccountMapper( cdc, app.capKeyAccountStore, // target store - types.ProtoAppAccount(), // prototype + types.ProtoAppAccount, // prototype ) // Add handlers.