mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-05 12:44:09 +01:00
CAKE-297 | fixed addressIndex
This commit is contained in:
@@ -21,7 +21,7 @@ class MoneroTransactionInfo extends TransactionInfo {
|
||||
isPending = parseBoolFromString(map['isPending'] as String),
|
||||
amount = map['amount'] as int,
|
||||
accountIndex = int.parse(map['accountIndex'] as String),
|
||||
addressIndex = map['addressIndex'] as List<int>,
|
||||
addressIndex = map['addressIndex'] as int,
|
||||
key = getTxKey((map['hash'] ?? '') as String),
|
||||
fee = map['fee'] as int ?? 0;
|
||||
|
||||
@@ -34,7 +34,7 @@ class MoneroTransactionInfo extends TransactionInfo {
|
||||
isPending = row.isPending != 0,
|
||||
amount = row.getAmount(),
|
||||
accountIndex = row.subaddrAccount,
|
||||
addressIndex = row.getSubaddrIndex(),
|
||||
addressIndex = row.subaddrIndex,
|
||||
key = getTxKey(row.getHash()),
|
||||
fee = row.fee;
|
||||
|
||||
@@ -46,7 +46,7 @@ class MoneroTransactionInfo extends TransactionInfo {
|
||||
final bool isPending;
|
||||
final int amount;
|
||||
final int fee;
|
||||
final List<int> addressIndex;
|
||||
final int addressIndex;
|
||||
String recipientAddress;
|
||||
String key;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user