fix notaryaddrs var ?

This commit is contained in:
blackjok3r
2018-11-05 16:16:49 +08:00
parent 623ec77877
commit f0b07a30a7
3 changed files with 8 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
#include "cc/CCinclude.h"
#include <cstring>
extern char NOTARYADDRS[18][64];
extern char NOTARYADDRS[64][18];
extern std::string NOTARY_ADDRESS,NOTARY_PUBKEY;
extern int32_t STAKED_ERA,IS_STAKED_NOTARY,IS_KOMODO_NOTARY;
extern pthread_mutex_t staked_mutex;
@@ -283,6 +283,11 @@ int8_t numStakedNotaries(uint8_t pubkeys[64][33],int8_t era) {
break;
}
}
else
{
// era is zero so we need to null ut the notary address's
//NOTARYADDRS[64][18]
}
return(retval);
}