This commit is contained in:
blackjok3r
2018-11-02 18:47:50 +08:00
parent 2d1a27fddf
commit 351405ce37
2 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@
#define KOMODO_MAINNET_START 178999
extern NOTARYADDRS[18][64];
extern char NOTARYADDRS[18][64];
//extern const char *notaries_STAKED[][2];
//extern const int num_notaries_STAKED;

View File

@@ -3,6 +3,9 @@
#include "crosschain.h"
#include <cstring>
extern char NOTARYADDRS[18][64];
extern int32_t STAKED_ERA;
// Era 1 set of pubkeys
const char *notaries_STAKED1[][2] =
{
@@ -130,9 +133,6 @@ int STAKED_era(int timestamp)
return(era);
};
extern char NOTARYADDRS[18][64];
extern int32_t STAKED_ERA;
int8_t StakedNotaryID(std::string &notaryname, char *Raddress) {
int8_t notaryID = -1;
if ( STAKED_ERA != 0 ) {