Skip to content

Commit

Permalink
Merge pull request #1065 from ashchan/fix-indexer-rpc-doc
Browse files Browse the repository at this point in the history
fix: RPC doc for deindex_lock_hash
  • Loading branch information
quake committed Jun 19, 2019
2 parents 600d815 + b241619 commit e227f1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ http://localhost:8114

### `deindex_lock_hash`

Remove index for live cells and transaction by the hash of lock script. Returns empty array when the `lock_hash` not indexed yet.
Remove index for live cells and transactions by the hash of lock script.

#### Parameters

Expand Down Expand Up @@ -933,7 +933,7 @@ http://localhost:8114

### `get_transactions_by_lock_hash`

Returns the transactions collection by the hash of lock script. Returns empty array when the `lock_hash` not indexed yet.
Returns the transactions collection by the hash of lock script. Returns empty array when the `lock_hash` has not been indexed yet.

#### Parameters

Expand Down
4 changes: 2 additions & 2 deletions rpc/json/rpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@
]
},
{
"description": "Returns the transactions collection by the hash of lock script. Returns empty array when the `lock_hash` not indexed yet.",
"description": "Returns the transactions collection by the hash of lock script. Returns empty array when the `lock_hash` has not been indexed yet.",
"method": "get_transactions_by_lock_hash",
"module": "indexer",
"params": [
Expand Down Expand Up @@ -765,7 +765,7 @@
]
},
{
"description": "Remove index for live cells and transaction by the hash of lock script. Returns empty array when the `lock_hash` not indexed yet.",
"description": "Remove index for live cells and transactions by the hash of lock script.",
"method": "deindex_lock_hash",
"module": "indexer",
"params": [
Expand Down

0 comments on commit e227f1c

Please sign in to comment.