aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/address_book.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-01-08 16:42:08 -0800
committerRiccardo Spagni <ric@spagni.net>2017-01-08 16:42:08 -0800
commit6cbfe0f849d6e3e96f82ce314b85ce0f8c1ef32e (patch)
tree33a162a4e7eb93aac62e90572357039720f52702 /src/wallet/api/address_book.h
parentMerge pull request #1515 (diff)
parentwallet2_api: add an address book payment id lookup API (diff)
downloadmonero-6cbfe0f849d6e3e96f82ce314b85ce0f8c1ef32e.tar.xz
Merge pull request #1521
21c5af5a wallet2_api: add an address book payment id lookup API (moneromooo-monero)
Diffstat (limited to 'src/wallet/api/address_book.h')
-rw-r--r--src/wallet/api/address_book.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/api/address_book.h b/src/wallet/api/address_book.h
index 7f30e4387..33d06a078 100644
--- a/src/wallet/api/address_book.h
+++ b/src/wallet/api/address_book.h
@@ -51,6 +51,8 @@ public:
// Error codes. See AddressBook:ErrorCode enum in wallet2_api.h
std::string errorString() const {return m_errorString;}
int errorCode() const {return m_errorCode;}
+
+ int lookupPaymentID(const std::string &payment_id) const;
private:
void clearRows();