From 147afee0c915b0b73cfd22563d2461cc080ca44d Mon Sep 17 00:00:00 2001 From: jamesm Date: Thu, 31 Oct 2024 11:15:54 -0400 Subject: [PATCH] Fix isSuccess method --- .../solana4j/client/jsonrpc/SolanaJsonRpcClientResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }