From c7da0ab0d637d7aaaf730dbcfae5cee53c5e1190 Mon Sep 17 00:00:00 2001 From: PNTX Date: Tue, 10 Dec 2024 20:17:49 +0100 Subject: [PATCH] allow the usage of non implemented RPC calls. --- Nano.Net/RpcClient.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Nano.Net/RpcClient.cs b/Nano.Net/RpcClient.cs index d48230e..6e32724 100644 --- a/Nano.Net/RpcClient.cs +++ b/Nano.Net/RpcClient.cs @@ -1,4 +1,4 @@ -// This is a modified version of the code from https://github.com/Flufd/NanoDotNet/blob/master/NanoDotNet/NanoRpcClient.cs +// This is a modified version of the code from https://github.com/Flufd/NanoDotNet/blob/master/NanoDotNet/NanoRpcClient.cs using System.Collections.Generic; using System.Net.Http; @@ -40,7 +40,7 @@ public RpcClient(string nodeUri) NodeAddress = nodeUri; } - private async Task RpcRequestAsync(object request) + public async Task RpcRequestAsync(object request) { string serializedBlock = JsonConvert.SerializeObject(request, _jsonSerializerSettings); var content = new StringContent(serializedBlock, Encoding.UTF8, "application/json");