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
+1 -1
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)