Closed w-zhong closed 1 year ago
https://github.com/WTFAcademy/WTF-Ethers/blob/0a7ff6526ac07be961b47e3a1877870c28303a82/16_MultiCollect/MultiCollect.js#L58
应为: if ( ethers.utils.formatEther(balanceETH) > ethers.utils.formatEther(amount) && ethers.utils.formatEther(balanceWETH) >= ethers.utils.formatEther(amount) )
感谢指出 提个pr吧
pr merged
https://github.com/WTFAcademy/WTF-Ethers/blob/0a7ff6526ac07be961b47e3a1877870c28303a82/16_MultiCollect/MultiCollect.js#L58
应为: if ( ethers.utils.formatEther(balanceETH) > ethers.utils.formatEther(amount) && ethers.utils.formatEther(balanceWETH) >= ethers.utils.formatEther(amount) )