Merge PR #1334: democli: fix account query
* democli: fix query account * Update changelog
This commit is contained in:
parent
7f1169db4d
commit
17e5a48b65
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue