diff options
author | tobtoht <thotbot@protonmail.com> | 2021-08-19 15:35:37 +0200 |
---|---|---|
committer | tobtoht <thotbot@protonmail.com> | 2021-08-19 15:35:37 +0200 |
commit | a9aaa47abb4c91f3127fcee7b3ea1603c85ba879 (patch) | |
tree | 74c380316113fd91fe70986c7371f23bf2ced85e /src/wallet/api/wallet.cpp | |
parent | Merge pull request #7818 (diff) | |
download | monero-a9aaa47abb4c91f3127fcee7b3ea1603c85ba879.tar.xz |
wallet_api: add make_uri
Diffstat (limited to '')
-rw-r--r-- | src/wallet/api/wallet.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 3a2074cc4..0afbda705 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -2365,6 +2365,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(); |