fixed sync message
This commit is contained in:
parent
5907263729
commit
65aa7db8a2
@ -3,7 +3,7 @@ AC_PREREQ([2.60])
|
||||
define(_CLIENT_VERSION_MAJOR, 0)
|
||||
define(_CLIENT_VERSION_MINOR, 11)
|
||||
define(_CLIENT_VERSION_REVISION, 1)
|
||||
define(_CLIENT_VERSION_BUILD, 23)
|
||||
define(_CLIENT_VERSION_BUILD, 24)
|
||||
define(_CLIENT_VERSION_IS_RELEASE, true)
|
||||
define(_COPYRIGHT_YEAR, 2015)
|
||||
AC_INIT([Darkcoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[info@darkcoin.io],[darkcoin])
|
||||
|
@ -12,7 +12,7 @@
|
||||
#define CLIENT_VERSION_MAJOR 0
|
||||
#define CLIENT_VERSION_MINOR 11
|
||||
#define CLIENT_VERSION_REVISION 1
|
||||
#define CLIENT_VERSION_BUILD 23
|
||||
#define CLIENT_VERSION_BUILD 24
|
||||
|
||||
|
||||
|
||||
|
@ -796,9 +796,10 @@ void CMasternodePayments::Relay(CMasternodePaymentWinner& winner)
|
||||
|
||||
void CMasternodePayments::Sync(CNode* node)
|
||||
{
|
||||
int a = 0;
|
||||
BOOST_FOREACH(CMasternodePaymentWinner& winner, vWinning)
|
||||
if(winner.nBlockHeight >= chainActive.Tip()->nHeight-10 && winner.nBlockHeight <= chainActive.Tip()->nHeight + 20)
|
||||
node->PushMessage("mnw", winner);
|
||||
node->PushMessage("mnw", winner, a);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user