wallet_api: add make_uri

This commit is contained in:
tobtoht
2021-08-19 15:35:37 +02:00
parent 64c320130f
commit be6c61e2ee
3 changed files with 7 additions and 0 deletions

View File

@@ -2350,6 +2350,11 @@ bool WalletImpl::parse_uri(const std::string &uri, std::string &address, std::st
return m_wallet->parse_uri(uri, address, payment_id, amount, tx_description, recipient_name, unknown_parameters, error);
}
std::string WalletImpl::make_uri(const std::string &address, const std::string &payment_id, uint64_t amount, const std::string &tx_description, const std::string &recipient_name, std::string &error) const
{
return m_wallet->make_uri(address, payment_id, amount, tx_description, recipient_name, error);
}
std::string WalletImpl::getDefaultDataDir() const
{
return tools::get_default_data_dir();