aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorMoroccanMalinois <MoroccanMalinois@protonmail.com>2017-01-08 22:53:24 +0000
committerMoroccanMalinois <MoroccanMalinois@protonmail.com>2017-01-08 22:53:24 +0000
commit60fe1b61e04db33c9a5147f950a860a08f9ffe38 (patch)
tree9f3eafa880ef24774149245b920c4d15652ba08b /src/wallet/api/wallet.cpp
parentMerge pull request #1487 (diff)
downloadmonero-60fe1b61e04db33c9a5147f950a860a08f9ffe38.tar.xz
Add parse_uri to wallet2_api
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r--src/wallet/api/wallet.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index 3a4493ec3..e3006698e 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -1089,6 +1089,11 @@ void WalletImpl::doInit(const string &daemon_address, uint64_t upper_transaction
}
+bool WalletImpl::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)
+{
+ return m_wallet->parse_uri(uri, address, payment_id, amount, tx_description, recipient_name, unknown_parameters, error);
+}
+
} // namespace
namespace Bitmonero = Monero;