mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
fixed masternode find bug
This commit is contained in:
parent
e741ff590e
commit
a79196bc19
@ -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])
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user