Skip to content

Commit

Permalink
1.5.5.3
Browse files Browse the repository at this point in the history
Fix to  validateaddress, add checkpoint
  • Loading branch information
Tranz5 committed Aug 11, 2017
1 parent 37032bb commit 2c03c9f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion HoboNickels-qt.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
TEMPLATE = app
TARGET = HoboNickels-qt
VERSION = 1.5.5.2
VERSION = 1.5.5.3
QT += core gui network
INCLUDEPATH += src src/json src/qt
DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN __NO_SYSTEM_INCLUDES
Expand Down
1 change: 1 addition & 0 deletions src/checkpoints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ namespace Checkpoints
( 5499332, uint256("0x000000003806a3ee782ebc103bd7d7f47aeb753d4cce911a19dab453051e3ce5"))
( 5500000, uint256("0xa8f0c882004f2f976ec8af49fa42c45620d4b33d7a1a95de748c9e19fc917962"))
( 5520100, uint256("0x8231997f2fe53ab744f37531d619c37983b3d4dfb619169e2034e4d3d9467e6b"))
( 5525100, uint256("0x99202c5db266191c3bebba59873b5fb7514d5c9e8926e5099c5d36400f8a0ff4"))
;

static MapCheckpoints mapCheckpointsTestnet =
Expand Down
2 changes: 1 addition & 1 deletion src/clientversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define CLIENT_VERSION_MAJOR 1
#define CLIENT_VERSION_MINOR 5
#define CLIENT_VERSION_REVISION 5
#define CLIENT_VERSION_BUILD 2
#define CLIENT_VERSION_BUILD 3

// Set to true for release, false for prerelease or test build
#define CLIENT_VERSION_IS_RELEASE true
Expand Down
5 changes: 2 additions & 3 deletions src/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1769,8 +1769,7 @@ class DescribeAddressVisitor : public boost::static_visitor<Object>
isminetype mine;

public:
DescribeAddressVisitor(CWallet* _pWallet) : pWallet(_pWallet) { }
DescribeAddressVisitor(isminetype mineIn) : mine(mineIn) {}
DescribeAddressVisitor(CWallet* _pWallet, isminetype mineIn) : pWallet(_pWallet), mine(mineIn) {}

Object operator()(const CNoDestination &dest) const { return Object(); }
Object operator()(const CKeyID &keyID) const {
Expand Down Expand Up @@ -1831,7 +1830,7 @@ Value validateaddress(CWallet* pWallet, const Array& params, bool fHelp)
ret.push_back(Pair("ismine", mine != MINE_NO));
if (mine != MINE_NO) {
ret.push_back(Pair("watchonly", mine == MINE_WATCH_ONLY));
Object detail = boost::apply_visitor(DescribeAddressVisitor(mine), dest);
Object detail = boost::apply_visitor(DescribeAddressVisitor(pWallet, mine), dest);
ret.insert(ret.end(), detail.begin(), detail.end());
}
if (pWallet->mapAddressBook.count(dest))
Expand Down

0 comments on commit 2c03c9f

Please sign in to comment.