Browse Source

darkfid/rpc/blockchain: Fix RPCAPI doc typo

x 7 tháng trước cách đây
mục cha
commit
874d8dcf1a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      bin/darkfid/src/rpc/blockchain.rs

+ 1 - 1
bin/darkfid/src/rpc/blockchain.rs

@@ -364,7 +364,7 @@ impl DarkfiNode {
     // * `String`: base64-encoded WASM binary
     //
     // --> {"jsonrpc": "2.0", "method": "blockchain.lookup_wasm", "params": ["BZHKGQ26bzmBithTQYTJtjo2QdCqpkR9tjSBopT4yf4o"], "id": 1}
-    // <-- ["jsonrpc": "2.0", "result": "ABCD...", "id": 1}
+    // <-- {"jsonrpc": "2.0", "result": "ABCD...", "id": 1}
     pub async fn blockchain_lookup_wasm(&self, id: u16, params: JsonValue) -> JsonResult {
         let Some(params) = params.get::<Vec<JsonValue>>() else {
             return JsonError::new(InvalidParams, None, id).into()