mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-09 03:21:19 +00:00
remove check for non-empty message as it should always be present
This commit is contained in:
parent
e1fd587ddd
commit
b700ed8e31
@ -146,7 +146,7 @@ func unmarshalResponseBytes(responseBytes []byte, result interface{}) (interface
|
||||
if err != nil {
|
||||
return nil, errors.Errorf("Error unmarshalling rpc response: %v", err)
|
||||
}
|
||||
if response.Error != nil && response.Error.Message != "" {
|
||||
if response.Error != nil {
|
||||
return nil, errors.Errorf("Response error: %v", response.Error.Message)
|
||||
}
|
||||
// unmarshal the RawMessage into the result
|
||||
|
Loading…
x
Reference in New Issue
Block a user