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; diff --git a/pubspec.yaml b/pubspec.yaml index 561d4ce5e..f72c6b9be 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: Stack Wallet # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.8.0+191 +version: 1.8.1+192 environment: sdk: ">=3.0.2 <4.0.0"