mirror of
https://github.com/monero-project/monero.git
synced 2026-01-20 00:20:55 -08:00
wallet2_api: add API for tx notes
This commit is contained in:
@@ -69,6 +69,14 @@ string PendingTransactionImpl::errorString() const
|
||||
return m_errorString;
|
||||
}
|
||||
|
||||
std::vector<std::string> PendingTransactionImpl::txid() const
|
||||
{
|
||||
std::vector<std::string> txid;
|
||||
for (const auto &pt: m_pending_tx)
|
||||
txid.push_back(epee::string_tools::pod_to_hex(cryptonote::get_transaction_hash(pt.tx)));
|
||||
return txid;
|
||||
}
|
||||
|
||||
bool PendingTransactionImpl::commit()
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user