Skip to content

Commit ee3029a

Browse files
feat: update getUpgradesInfo function name
1 parent dd6c8fe commit ee3029a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/info/info.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type {
1111
GetTxFeeResponse,
1212
isBootstrapped,
1313
UptimeResponse,
14-
GetUpgradesResponse,
14+
GetUpgradesInfoResponse,
1515
} from './model';
1616

1717
export class Info extends Api {
@@ -80,7 +80,7 @@ export class Info extends Api {
8080
// Post-Etna API
8181

8282
// get upgrades info
83-
getEtnaTime(): Promise<GetUpgradesResponse> {
84-
return this.callRpc<GetUpgradesResponse>('upgrades');
83+
getUpgradesInfo(): Promise<GetUpgradesInfoResponse> {
84+
return this.callRpc<GetUpgradesInfoResponse>('upgrades');
8585
}
8686
}

src/info/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export type isBootstrapped = {
7070
isBootstrapped: boolean;
7171
};
7272

73-
export type GetUpgradesResponse = {
73+
export type GetUpgradesInfoResponse = {
7474
apricotPhaselTime: string;
7575
apricotPhase2Time: string;
7676
apricotPhase3Time: string;

0 commit comments

Comments
 (0)