mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
CAKE-297 | fixed subaddrIndex in the monero_api.cpp and transaction_info_row.dart
This commit is contained in:
@@ -134,6 +134,7 @@ extern "C"
|
||||
uint32_t subaddrAccount;
|
||||
int8_t direction;
|
||||
int8_t isPending;
|
||||
uint32_t subaddrIndex;
|
||||
|
||||
char *hash;
|
||||
char *paymentId;
|
||||
@@ -146,6 +147,8 @@ extern "C"
|
||||
fee = transaction->fee();
|
||||
blockHeight = transaction->blockHeight();
|
||||
subaddrAccount = transaction->subaddrAccount();
|
||||
std::set<uint32_t>::iterator it = transaction->subaddrIndex().begin();
|
||||
subaddrIndex = *it;
|
||||
confirmations = transaction->confirmations();
|
||||
datetime = static_cast<int64_t>(transaction->timestamp());
|
||||
direction = transaction->direction();
|
||||
|
||||
@@ -23,6 +23,9 @@ class TransactionInfoRow extends Struct {
|
||||
@Int8()
|
||||
int isPending;
|
||||
|
||||
@Uint32()
|
||||
int subaddrIndex;
|
||||
|
||||
Pointer<Utf8> hash;
|
||||
|
||||
Pointer<Utf8> paymentId;
|
||||
|
||||
Reference in New Issue
Block a user