diff --git a/client/src/main/java/com/lmax/solana4j/client/jsonrpc/SolanaJsonRpcClientResponse.java b/client/src/main/java/com/lmax/solana4j/client/jsonrpc/SolanaJsonRpcClientResponse.java index 6ddd47d6..5154a8cf 100644 --- a/client/src/main/java/com/lmax/solana4j/client/jsonrpc/SolanaJsonRpcClientResponse.java +++ b/client/src/main/java/com/lmax/solana4j/client/jsonrpc/SolanaJsonRpcClientResponse.java @@ -35,6 +35,6 @@ public SolanaClientError getError() @Override public boolean isSuccess() { - return error != null; + return error == null; } }