소스 검색

book: Correct element for method name in JSON-RPC doc generator.

parazyd 4 년 전
부모
커밋
aa0b73d8a2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      book/build_jsonrpc.py

+ 1 - 1
book/build_jsonrpc.py

@@ -28,7 +28,7 @@ def main(path):
 
         if parsing_method:
             if i.startswith("// --> "):
-                method = i.split()[3][1:-2]
+                method = i.split()[5][1:-2]
                 recv = i[3:]
                 continue