This commit is contained in:
blackjok3r
2018-11-03 21:15:01 +08:00
parent 5fe4e9d6f3
commit 818f6fc43b
2 changed files with 5 additions and 69 deletions

View File

@@ -118,14 +118,14 @@ int is_STAKED(const char *chain_name) {
void updateStakedNotary() {
std::string notaryname;
pthread_mutex_lock(&komodo_mutex);
//pthread_mutex_lock(&komodo_mutex);
if (StakedNotaryID(notaryname,(char *)NOTARY_ADDRESS.c_str()) != -1 ) {
IS_STAKED_NOTARY = 1;
IS_KOMODO_NOTARY = 0;
} else {
IS_STAKED_NOTARY = 0;
}
pthread_mutex_unlock(&komodo_mutex);
//pthread_mutex_unlock(&komodo_mutex);
}
int STAKED_era(int timestamp)