Fix for transaction details for electrum transactions
M committed
Feb 3, 2022 at 14:37 UTC
01735a998c063b451a4b8c8a538ca9cfcf868759
1 file changed
+3
-3
lib/view_model/transaction_details_view_model.dart
+3
-3
@@ -32,11 +32,11 @@ abstract class TransactionDetailsViewModelBase with Store {
32
33
final dateFormat = DateFormatter.withCurrentLocal();
34
final tx = transactionInfo;
35
- final key = tx.additionalInfo['key'] as String;
36
- final accountIndex = tx.additionalInfo['accountIndex'] as int;
37
- final addressIndex = tx.additionalInfo['addressIndex'] as int;
35
36
if (wallet.type == WalletType.monero) {
37
+ final key = tx.additionalInfo['key'] as String;
38
+ final accountIndex = tx.additionalInfo['accountIndex'] as int;
39
+ final addressIndex = tx.additionalInfo['addressIndex'] as int;
40
final _items = [
41
StandartListItem(
42
title: S.current.transaction_details_transaction_id, value: tx.id),