Merge PR #2208: types: fixed the error returned from AccAddress unmarshal.

This commit is contained in:
Christopher Goes 2018-09-01 23:06:36 +02:00 committed by GitHub
commit 309a74ef6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ func (aa *AccAddress) UnmarshalJSON(data []byte) error {
var s string
err := json.Unmarshal(data, &s)
if err != nil {
return nil
return err
}
aa2, err := AccAddressFromBech32(s)