Cw-58: Show subaddress label on the transaction details page (#333)

* CW-58: Show subaddress label on the transaction details page

* add translations

* Fix interface
This commit is contained in:
clear 2022-04-12 17:38:47 +02:00 committed by GitHub
parent 04db28e276
commit 135ede6a78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 69 additions and 13 deletions

View file

@ -766,6 +766,11 @@ extern "C"
return strdup(m_wallet->getTxKey(std::string(txId)).c_str());
}
char *get_subaddress_label(uint32_t accountIndex, uint32_t addressIndex)
{
return strdup(get_current_wallet()->getSubaddressLabel(accountIndex, addressIndex).c_str());
}
#ifdef __cplusplus
}
#endif