Skip to content

Commit

Permalink
Merge branch 'main' into chee-chyuan/rpc_masternode_listanchor
Browse files Browse the repository at this point in the history
  • Loading branch information
chee-chyuan committed Dec 30, 2021
2 parents 7c4f102 + 0502f1b commit 9280bbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/node/CATEGORIES/11-masternode.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ interface masternode {
```

## listAnchors
Return array of anchors if any
Returns an array of anchors if any

```ts title="client.masternode.getActiveMasternodeCount"
```ts title="client.masternode.listAnchors"
interface masternode {
listAnchors (): Promise<MasternodeResult<MasternodeAnchor>>
}
Expand Down
4 changes: 2 additions & 2 deletions packages/jellyfish-api-core/src/category/masternode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ export class Masternode {
}

/**
* Returns array of anchors if any
* @return {} Array of anchors
* Returns an array of anchors if any
* @return Promise<MasternodeResult<MasternodeAnchor>>
*/
async listAnchors (): Promise<MasternodeResult<MasternodeAnchor>> {
return await this.client.call('listanchors', [], 'number')
Expand Down

0 comments on commit 9280bbb

Please sign in to comment.