diff --git a/src/api/faucet.ts b/src/api/faucet.ts index 3c2e2dec1..2811a138d 100644 --- a/src/api/faucet.ts +++ b/src/api/faucet.ts @@ -5,7 +5,6 @@ import { fundAccount } from "../internal/faucet"; import { UserTransactionResponse, WaitForTransactionOptions } from "../types"; import { AccountAddressInput } from "../core"; import { AptosConfig } from "./aptosConfig"; -import { waitForIndexer } from "../internal/transaction"; /** * A class to query all `Faucet` related queries on Aptos. @@ -28,11 +27,6 @@ export class Faucet { options?: WaitForTransactionOptions; }): Promise { const fundTxn = await fundAccount({ aptosConfig: this.config, ...args }); - - if (args.options?.waitForIndexer !== false) { - await waitForIndexer({ aptosConfig: this.config, minimumLedgerVersion: BigInt(fundTxn.version) }); - } - return fundTxn; } }