mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
Added displaying of transaction key.
This commit is contained in:
parent
e4b5bcf07e
commit
9eb74f7155
6 changed files with 42 additions and 4 deletions
|
@ -5,8 +5,8 @@
|
|||
#include <iostream>
|
||||
#include <unistd.h>
|
||||
#include "thread"
|
||||
#include "../External/android/monero/include/wallet2_api.h"
|
||||
#include "CwWalletListener.h"
|
||||
#include "../External/android/monero/include/wallet2_api.h"
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
|
@ -684,6 +684,11 @@ extern "C"
|
|||
m_wallet->rescanBlockchainAsync();
|
||||
}
|
||||
|
||||
char * get_tx_key(char * txId)
|
||||
{
|
||||
return strdup(m_wallet->getTxKey(std::string(txId)).c_str());
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue