don't grab successful token transactions in eth wallet

This commit is contained in:
julian 2024-01-16 10:14:49 -06:00
parent 19605d2d25
commit 37f8a22ec2

View file

@ -266,6 +266,10 @@ class EthereumWallet extends Bip39Wallet with PrivateKeyInterface {
for (final tuple in allTxs) {
final element = tuple.item1;
if (element.hasToken && !element.isError) {
continue;
}
//Calculate fees (GasLimit * gasPrice)
// int txFee = element.gasPrice * element.gasUsed;
final Amount txFee = element.gasCost;