diff --git a/src/scraper.js b/src/scraper.js index 36afaee..40e6c55 100644 --- a/src/scraper.js +++ b/src/scraper.js @@ -272,7 +272,7 @@ class Scrape extends Collection { } } if (sale) { - let amountEther = ethers.utils.formatEther(amountWei); + let amountEther = ethers.utils.formatEther(amountWei.toString()); let msg = `[ ${timestamp.toISOString()} ][ ${this.contractName} ][ sale ] #${tokenId}: ${fromAddress} => ${toAddress} for ${amountEther}Ξ (${platform}) in tx ${txHash}:${logIndex}\n`; console.log(msg); const q = {