From 0f847b678b95ee91f7691c176fefdcc6ad503cbb Mon Sep 17 00:00:00 2001 From: Martin Minkov Date: Wed, 1 Mar 2023 12:48:16 -0800 Subject: [PATCH] Overload Mina.Network method --- src/lib/mina.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/mina.ts b/src/lib/mina.ts index e6470e9f9..64539b5d7 100644 --- a/src/lib/mina.ts +++ b/src/lib/mina.ts @@ -591,7 +591,7 @@ LocalBlockchain satisfies (...args: any) => Mina; /** * Represents the Mina blockchain running on a real network */ -// TODO: Should this be an object instead? +function Network(graphqlEndpoint: string): Mina; function Network(graphqlEndpoint: string, archiveEndpoint?: string): Mina { let accountCreationFee = UInt64.from(defaultAccountCreationFee); Fetch.setGraphqlEndpoint(graphqlEndpoint);