aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-08-20 16:50:24 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-08-20 16:50:24 -0400
commit0061da9e63edb4e0d23572c330edbdfb792d72dc (patch)
tree365b09b2e1d286111dab0ac16404e75458989e4e /src/wallet/api/wallet2_api.h
parentMerge pull request #7849 (diff)
parentwallet_api: add make_uri (diff)
downloadmonero-0061da9e63edb4e0d23572c330edbdfb792d72dc.tar.xz
Merge pull request #7878
a9aaa47 wallet_api: add make_uri (tobtoht)
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r--src/wallet/api/wallet2_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index ed8c55d3b..f9c421a93 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -1020,6 +1020,7 @@ struct Wallet
virtual bool verifyMessageWithPublicKey(const std::string &message, const std::string &publicKey, const std::string &signature) const = 0;
virtual bool parse_uri(const std::string &uri, std::string &address, std::string &payment_id, uint64_t &amount, std::string &tx_description, std::string &recipient_name, std::vector<std::string> &unknown_parameters, std::string &error) = 0;
+ virtual std::string 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 = 0;
virtual std::string getDefaultDataDir() const = 0;