Merge PR #1334: democli: fix account query

* democli: fix query account
* Update changelog
This commit is contained in:
Geet Kumar 2018-06-22 13:50:36 -05:00 committed by Christopher Goes
parent 7f1169db4d
commit 17e5a48b65
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)
}