mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-22 07:08:49 +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;
|
uint32_t subaddrAccount;
|
||||||
int8_t direction;
|
int8_t direction;
|
||||||
int8_t isPending;
|
int8_t isPending;
|
||||||
|
uint32_t subaddrIndex;
|
||||||
|
|
||||||
char *hash;
|
char *hash;
|
||||||
char *paymentId;
|
char *paymentId;
|
||||||
|
@ -146,6 +147,8 @@ extern "C"
|
||||||
fee = transaction->fee();
|
fee = transaction->fee();
|
||||||
blockHeight = transaction->blockHeight();
|
blockHeight = transaction->blockHeight();
|
||||||
subaddrAccount = transaction->subaddrAccount();
|
subaddrAccount = transaction->subaddrAccount();
|
||||||
|
std::set<uint32_t>::iterator it = transaction->subaddrIndex().begin();
|
||||||
|
subaddrIndex = *it;
|
||||||
confirmations = transaction->confirmations();
|
confirmations = transaction->confirmations();
|
||||||
datetime = static_cast<int64_t>(transaction->timestamp());
|
datetime = static_cast<int64_t>(transaction->timestamp());
|
||||||
direction = transaction->direction();
|
direction = transaction->direction();
|
||||||
|
|
|
@ -23,6 +23,9 @@ class TransactionInfoRow extends Struct {
|
||||||
@Int8()
|
@Int8()
|
||||||
int isPending;
|
int isPending;
|
||||||
|
|
||||||
|
@Uint32()
|
||||||
|
int subaddrIndex;
|
||||||
|
|
||||||
Pointer<Utf8> hash;
|
Pointer<Utf8> hash;
|
||||||
|
|
||||||
Pointer<Utf8> paymentId;
|
Pointer<Utf8> paymentId;
|
||||||
|
|
Loading…
Reference in a new issue