Skip to content

Commit 4e1c05c

Browse files
authored
fix: pass heightGte param to status call (#232)
Signed-off-by: Norman <[email protected]>
1 parent 560d944 commit 4e1c05c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/provider/jsonrpc/jsonrpc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export class JSONRPCProvider implements Provider {
180180

181181
async getStatus(): Promise<Status> {
182182
return await RestService.post<Status>(this.baseURL, {
183-
request: newRequest(CommonEndpoint.STATUS),
183+
request: newRequest(CommonEndpoint.STATUS, [null]),
184184
});
185185
}
186186

src/provider/websocket/ws.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ export class WSProvider implements Provider {
294294

295295
async getStatus(): Promise<Status> {
296296
const response = await this.sendRequest<Status>(
297-
newRequest(CommonEndpoint.STATUS)
297+
newRequest(CommonEndpoint.STATUS, [null])
298298
);
299299

300300
return this.parseResponse<Status>(response);

0 commit comments

Comments
 (0)