From 8476d5d407645229faf3017b390f041ce0666247 Mon Sep 17 00:00:00 2001 From: Cozz Lovan Date: Tue, 14 Jan 2014 05:05:43 +0100 Subject: [Qt] Permanently store requested payments in wallet --- src/wallet.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/wallet.cpp') diff --git a/src/wallet.cpp b/src/wallet.cpp index f4c14b437..84642bee6 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -2023,6 +2023,9 @@ void CWallet::GetKeyBirthTimes(std::map &mapKeyBirth) const { bool CWallet::AddDestData(const CTxDestination &dest, const std::string &key, const std::string &value) { + if (boost::get(&dest)) + return false; + mapAddressBook[dest].destdata.insert(std::make_pair(key, value)); if (!fFileBacked) return true; -- cgit v1.2.3