This commit is contained in:
blackjok3r
2018-11-03 18:42:13 +08:00
parent 20d6d16399
commit 793ebde434
2 changed files with 2 additions and 2 deletions

View File

@@ -708,7 +708,7 @@ void komodo_init(int32_t height)
NOTARY_ADDRESS = address.ToString();
if ( IS_STAKED_NOTARY != 0 && NOTARY_ADDRESS.empty() != 0 ) {
std::string notaryname;
if (StakedNotaryID(notaryname, NOTARY_ADDRESS.c_str()) != -1 ) {
if (StakedNotaryID(notaryname, Raddress) != -1 ) {
IS_STAKED_NOTARY = 1;
IS_KOMODO_NOTARY = 0;
} else {