From c3c72fe086354dae0c231ce7736c5c97e5f3dcad Mon Sep 17 00:00:00 2001 From: KirillPamPam Date: Fri, 5 May 2023 19:23:30 +0400 Subject: [PATCH] Refactoring no available methods error (#211) --- src/main/kotlin/io/emeraldpay/dshackle/rpc/NativeCall.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/rpc/NativeCall.kt b/src/main/kotlin/io/emeraldpay/dshackle/rpc/NativeCall.kt index 8c529088..b00b5228 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/rpc/NativeCall.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/rpc/NativeCall.kt @@ -297,7 +297,7 @@ open class NativeCall( val availableMethods = upstream.getMethods() if (!availableMethods.isAvailable(method)) { - val errorMessage = "The method $method does not exist/is not available" + val errorMessage = "The method $method is not available" return Mono.just( InvalidCallContext( CallError(