Skip to content

Commit ba89365

Browse files
committed
temp eth sync "fix"
1 parent 9604f13 commit ba89365

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/wallets/wallet/impl/ethereum_wallet.dart

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,14 @@ class EthereumWallet extends Bip39Wallet with PrivateKeyInterface {
338338
final Amount txFee = element.gasCost;
339339
final transactionAmount = element.value;
340340
final addressFrom = checksumEthereumAddress(element.from);
341-
final addressTo = checksumEthereumAddress(element.to);
341+
final String addressTo;
342+
try {
343+
addressTo = checksumEthereumAddress(element.to);
344+
} catch (e, s) {
345+
Logging.instance.w("Ignoring eth transaction:\n$e\n$s");
346+
// temp "fix"
347+
continue;
348+
}
342349

343350
bool isIncoming;
344351
bool txFailed = false;

0 commit comments

Comments
 (0)