mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
CAKE-297 | fixed subaddrIndex in the monero_api.cpp and transaction_info_row.dart
This commit is contained in:
parent
8567f20809
commit
9da3d837c3
2 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue