Skip to content

Commit

Permalink
Merge c572291 into 8fabcc3
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Nov 9, 2018
2 parents 8fabcc3 + c572291 commit e15278d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api-observable/src/Queries.ts
Expand Up @@ -115,7 +115,7 @@ export default class ApiQueries extends ApiBase {
}

referendumVote = (index: ReferendumIndex | BN | number, address: AccountId | string): Observable<Bool | undefined> => {
return this.rawStorage(storage.democracy.voteOf, index, address);
return this.rawStorage(storage.democracy.voteOf, [index, address]);
}

referendumVoters = (index: ReferendumIndex | BN | number): Observable<Array<AccountId>> => {
Expand Down

0 comments on commit e15278d

Please sign in to comment.