change to just int, compiler was mad
This commit is contained in:
@@ -107,7 +107,7 @@ int is_STAKED() {
|
||||
return(STAKED);
|
||||
};
|
||||
|
||||
int STAKED_era(uint32_t timestamp)
|
||||
int STAKED_era(int timestamp)
|
||||
{
|
||||
int era;
|
||||
if (timestamp <= STAKED_NOTARIES_TIMESTAMP)
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
#ifndef NOTARIES_STAKED
|
||||
#define NOTARIES_STAKED
|
||||
|
||||
static const uint32_t STAKED_NOTARIES_TIMESTAMP = 1537780949;
|
||||
static const uint32_t STAKED_NOTARIES_TIMESTAMP1 = 1537791749;
|
||||
static const uint32_t STAKED_NOTARIES_TIMESTAMP2 = 1537802549;
|
||||
static const uint32_t STAKED_NOTARIES_TIMESTAMP3 = 1537813349;
|
||||
static const int STAKED_NOTARIES_TIMESTAMP = 1537780949;
|
||||
static const int STAKED_NOTARIES_TIMESTAMP1 = 1537791749;
|
||||
static const int STAKED_NOTARIES_TIMESTAMP2 = 1537802549;
|
||||
static const int STAKED_NOTARIES_TIMESTAMP3 = 1537813349;
|
||||
|
||||
extern const char *notaries_STAKED[][2];
|
||||
extern int num_notaries_STAKED;
|
||||
@@ -20,6 +20,6 @@ extern const char *notaries_STAKED3[][2];
|
||||
extern int num_notaries_STAKED3;
|
||||
|
||||
int is_STAKED();
|
||||
int STAKED_era(uint32_t timestamp);
|
||||
int STAKED_era(int timestamp);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user