Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

allow the usage of non implemented RPC calls #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Nano.Net/RpcClient.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -40,7 +40,7 @@ public RpcClient(string nodeUri)
NodeAddress = nodeUri;
}

private async Task<T> RpcRequestAsync<T>(object request)
public async Task<T> RpcRequestAsync<T>(object request)
{
string serializedBlock = JsonConvert.SerializeObject(request, _jsonSerializerSettings);
var content = new StringContent(serializedBlock, Encoding.UTF8, "application/json");
Expand Down
Loading