diff --git a/CHANGELOG.md b/CHANGELOG.md index a97a18bd10..b6d786bf38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ FIXES * \#1052 - Make all now works * Retry on HTTP request failure in CLI tests, add option to retry tests in Makefile * Fixed bug where chain ID wasn't passed properly in x/bank REST handler +* Fixed bug where `democli account` didn't decode the account data correctly ## 0.19.0 diff --git a/examples/democoin/types/account.go b/examples/democoin/types/account.go index 211cf3c416..e01b63c318 100644 --- a/examples/democoin/types/account.go +++ b/examples/democoin/types/account.go @@ -32,7 +32,7 @@ func GetAccountDecoder(cdc *wire.Codec) auth.AccountDecoder { return nil, sdk.ErrTxDecode("accBytes are empty") } acct := new(AppAccount) - err = cdc.UnmarshalBinary(accBytes, &acct) + err = cdc.UnmarshalBinaryBare(accBytes, &acct) if err != nil { panic(err) }