From 48385ed1baea09ccfb0f9ba3f3d45820034ad77a Mon Sep 17 00:00:00 2001 From: Hecate2 <2474101468@qq.com> Date: Mon, 6 Mar 2023 10:49:30 +0800 Subject: [PATCH] fix response method name! --- WebSocket.Subscribe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebSocket.Subscribe.cs b/WebSocket.Subscribe.cs index b3731c1..253bb15 100644 --- a/WebSocket.Subscribe.cs +++ b/WebSocket.Subscribe.cs @@ -107,7 +107,7 @@ protected async void OnBlockAdded(NeoSystem system, Block block, DataCache snaps JObject returnedJson = new(); returnedJson["jsonrpc"] = "2.0"; - returnedJson["method"] = "transaction_added"; + returnedJson["method"] = "block_added"; JArray @params = new() { block.ToJson(system.Settings) }; returnedJson["params"] = @params; webSocketTasks.Append(Task.Run(async () =>