This commit is contained in:
Jackson Mills
2022-05-23 12:57:01 -07:00
parent 20dc73da67
commit 83db1abe4f
2 changed files with 3 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
/* eslint-disable max-lines -- Relatively simple logic, but verbose */
import { IncomingMessage } from 'http'
import { request as httpsRequest, RequestOptions } from 'https'
@@ -52,6 +53,7 @@ const MAX_ATTEMPTS = 20
* @throws When the Client isn't connected, when it is unable to fund the wallet address,
* or if `faucetHost` is incorrectly formatted.
*/
// eslint-disable-next-line max-lines-per-function -- Error checking makes for a better user experience.
async function fundWallet(
this: Client,
wallet?: Wallet | null,

View File

@@ -23,7 +23,7 @@ import {
sign,
} from 'ripple-keypairs'
import { Client } from '../client'
import type { Client } from '../client'
import ECDSA from '../ECDSA'
import { ValidationError } from '../errors'
import { Transaction } from '../models/transactions'