Skip to content

Commit

Permalink
remove useless spread
Browse files Browse the repository at this point in the history
  • Loading branch information
Wozacosta committed Dec 4, 2023
1 parent 86bb8d3 commit 144ac2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/JSONRPC/RpcNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export abstract class RpcNode<TSHandlers, TCHandlers> {
if (request.id) {
const response = createRpcResponse({
id: request.id,
...{ result: result || {} },
result: result || {},
});
this.transport.send(JSON.stringify(response));
}
Expand Down

0 comments on commit 144ac2a

Please # to comment.