From 405e432d12ce12bd20cabd45f30315455ca1b90f Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 31 Oct 2023 09:17:49 -0600 Subject: [PATCH] eth failed tx bug fix --- lib/services/coins/ethereum/ethereum_wallet.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/coins/ethereum/ethereum_wallet.dart b/lib/services/coins/ethereum/ethereum_wallet.dart index 367011c51..fc9de7bc7 100644 --- a/lib/services/coins/ethereum/ethereum_wallet.dart +++ b/lib/services/coins/ethereum/ethereum_wallet.dart @@ -1069,7 +1069,7 @@ class EthereumWallet extends CoinServiceAPI with WalletCache, WalletDB { bool isIncoming; bool txFailed = false; if (checksumEthereumAddress(element.from) == thisAddress) { - if (element.isError != 0) { + if (element.isError) { txFailed = true; } isIncoming = false;