This commit is contained in:
blackjok3r
2018-11-03 19:04:31 +08:00
parent 2dd5abbcdf
commit 482f2dcb74

View File

@@ -706,7 +706,7 @@ void komodo_init(int32_t height)
pubkey2addr((char *)Raddress,(uint8_t *)pubkey33);
CBitcoinAddress address(Raddress);
NOTARY_ADDRESS = address.ToString();
if ( IS_STAKED_NOTARY != 0 && NOTARY_ADDRESS.empty() != 0 ) {
if ( IS_STAKED_NOTARY != 0 || NOTARY_ADDRESS.empty() != 0 ) {
std::string notaryname;
if (StakedNotaryID(notaryname, Raddress) != -1 ) {
IS_STAKED_NOTARY = 1;