src/payment/eth/xyo-eth-payment.ts
Function getAmountInTransaction
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public async getAmountInTransaction(
txHash: string,
fromEth: string,
toEth: string
): Promise<number | undefined> {
Avoid too many return
statements within this function. Open
Open
return