mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Lint
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user