mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 21:01:21 +00:00
updated json response to match spec by @davebryson
This commit is contained in:
committed by
Ethan Buchman
parent
e0017c8a97
commit
60a1f49a5c
@ -146,7 +146,7 @@ func unmarshalResponseBytes(responseBytes []byte, result interface{}) (interface
|
||||
if err != nil {
|
||||
return nil, errors.Errorf("Error unmarshalling rpc response: %v", err)
|
||||
}
|
||||
errorStr := response.Error
|
||||
errorStr := response.Error.Message
|
||||
if errorStr != "" {
|
||||
return nil, errors.Errorf("Response error: %v", errorStr)
|
||||
}
|
||||
|
Reference in New Issue
Block a user