CAKE-297 | fixed subaddrIndex in the monero_api.cpp and transaction_info_row.dart

This commit is contained in:
OleksandrSobol 2021-05-12 19:38:16 +03:00
parent 8567f20809
commit 9da3d837c3
2 changed files with 6 additions and 0 deletions

View file

@ -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();

View file

@ -23,6 +23,9 @@ class TransactionInfoRow extends Struct {
@Int8()
int isPending;
@Uint32()
int subaddrIndex;
Pointer<Utf8> hash;
Pointer<Utf8> paymentId;