change to int

This commit is contained in:
blackjok3r
2018-09-21 17:19:16 +08:00
parent 90f50a9ee7
commit 0233e249cf
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ const char *notaries_STAKED[][2] =
{"alrighttest1", "03527c7ecd6a8c5db6d685a64e6e18c1edb49e2f057a434f56c3f1253a26e9c6a2" }, // RBw2jNU3dnGk86ZLqPMadJwRwg3NU8eC6s
};
bool is_STAKED() {
int is_STAKED() {
bool STAKED = 0;
if ( (strncmp(ASSETCHAINS_SYMBOL, "STKD", 4) == 0) || (strncmp(ASSETCHAINS_SYMBOL, "STAKED", 6) == 0) )
STAKED = 1;

View File

@@ -7,6 +7,6 @@ extern int num_notaries_STAKED;
static const int STAKED_MIN_SIGS = 4;
bool is_STAKED();
int is_STAKED();
#endif