test eras again

This commit is contained in:
blackjok3r
2018-11-05 17:58:23 +08:00
parent 0f712b6074
commit 102e221887
3 changed files with 10 additions and 18 deletions

View File

@@ -290,11 +290,14 @@ int8_t numStakedNotaries(uint8_t pubkeys[64][33],int8_t era) {
}
else
{
// era is zero so we need to null out the notary address's
// era is zero so we need to null out the notary address's and pubkeys.
pthread_mutex_lock(&staked_mutex);
memset(NOTARYADDRS,0,sizeof(NOTARYADDRS));
NUM_NOTARIES = 0;
memset(pubkeys,0,64 * 33);
pthread_mutex_unlock(&staked_mutex);
printf("%s is a STAKED chain and is in an ERA GAP.\n",ASSETCHAINS_SYMBOL);
return(64);
}
return(retval);
}