From b68500e9480bb7a6efde8c95fc2149d10c252d43 Mon Sep 17 00:00:00 2001 From: rigelrozanski Date: Mon, 5 Mar 2018 00:45:31 +0000 Subject: [PATCH] ... --- x/auth/commands/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/auth/commands/account.go b/x/auth/commands/account.go index 2e2a3bf929..e9e1a5438f 100644 --- a/x/auth/commands/account.go +++ b/x/auth/commands/account.go @@ -22,7 +22,7 @@ func GetAccountCmdDefault(storeName string, cdc *wire.Codec) *cobra.Command { func getParseAccount(cdc *wire.Codec) sdk.ParseAccount { return func(accBytes []byte) (sdk.Account, error) { acct := new(auth.BaseAccount) - err := cdc.UnmarshalBinary(accBytes, acct) + err := cdc.UnmarshalBinary(accBytes, &acct) if err != nil { panic(err) }