mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-28 08:37:51 +03:00
make field address getVotingInfo string
This commit is contained in:
@@ -118,7 +118,7 @@ class IntegratorService {
|
||||
return BigNumber(amount).dividedBy(this.getK(timestamp));
|
||||
}
|
||||
|
||||
readonly getVotingInfo = (userAddress: number) => {
|
||||
readonly getVotingInfo = (userAddress: string) => {
|
||||
return fetchWithValidation(this.apiUrl, votingInfoResponseSchema, {
|
||||
method: 'POST',
|
||||
body: this.makeRPCPayload({
|
||||
|
||||
Reference in New Issue
Block a user