Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kosu.js: implement a go-kosu JSONRPC client (the NodeClient) #229

Merged
merged 18 commits into from Aug 23, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

missing await on promise

  • Loading branch information
hrharder committed Aug 22, 2019
commit 8a93ad61e4743a1c1ce2aed28084323f1a0431a4
@@ -71,7 +71,7 @@ export class NodeClient {
}

public async validators(): Promise<Validator[]> {
const rawValidators = this._call("kosu_validators");
const rawValidators = await this._call("kosu_validators");
return NodeClient._convertValidatorData(rawValidators as unknown as any[]);
}

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.