fixed masternode find bug

This commit is contained in:
Evan Duffield 2015-04-09 12:17:32 -07:00
parent e741ff590e
commit a79196bc19
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 0)
define(_CLIENT_VERSION_MINOR, 11)
define(_CLIENT_VERSION_REVISION, 2)
define(_CLIENT_VERSION_BUILD, 21)
define(_CLIENT_VERSION_BUILD, 22)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2015)
AC_INIT([Dash Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[info@dashpay.io],[dash])

View File

@ -12,7 +12,7 @@
#define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR 11
#define CLIENT_VERSION_REVISION 2
#define CLIENT_VERSION_BUILD 21
#define CLIENT_VERSION_BUILD 22

View File

@ -327,7 +327,7 @@ CMasternode *CMasternodeMan::Find(const CTxIn &vin)
BOOST_FOREACH(CMasternode& mn, vMasternodes)
{
if(mn.vin == vin)
if(mn.vin.prevout == vin.prevout)
return &mn;
}
return NULL;