Skip to content

Commit f2cc8d7

Browse files
committed
optimized fallback
1 parent e8fb5c5 commit f2cc8d7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/server/handlers/private-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ const fetchTonBalance = async (node: ChainstackNode, address: string): Promise<C
848848
unit: "nanotons",
849849
raw: data,
850850
nodeId: node.id,
851-
provider: "tonapi",
851+
provider: "other",
852852
};
853853
}
854854
} catch (e3) {

src/server/helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import config from "../config";
66

77
import {baseApiRequest} from "./util";
88

9-
export type BalanceProvider = "chainstack" | "chainz" | "tonapi";
9+
export type BalanceProvider = "chainstack" | "chainz" | "other";
1010

1111
export interface ChainBalanceResponse {
1212
chain: string;

0 commit comments

Comments
 (0)