Added displaying of transaction key.

This commit is contained in:
M 2020-09-24 18:11:29 +03:00
parent e4b5bcf07e
commit 9eb74f7155
6 changed files with 42 additions and 4 deletions

View file

@ -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