Skip to content

Commit

Permalink
fix response method name!
Browse files Browse the repository at this point in the history
  • Loading branch information
Hecate2 committed Mar 6, 2023
1 parent 66e3dcc commit 48385ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebSocket.Subscribe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 () =>
Expand Down

0 comments on commit 48385ed

Please sign in to comment.