fix
:Wq qqq
This commit is contained in:
@@ -706,14 +706,12 @@ void komodo_init(int32_t height)
|
|||||||
pubkey2addr((char *)Raddress,(uint8_t *)pubkey33);
|
pubkey2addr((char *)Raddress,(uint8_t *)pubkey33);
|
||||||
CBitcoinAddress address(Raddress);
|
CBitcoinAddress address(Raddress);
|
||||||
NOTARY_ADDRESS = address.ToString();
|
NOTARY_ADDRESS = address.ToString();
|
||||||
if ( IS_STAKED_NOTARY != 0 || NOTARY_ADDRESS.empty() != 0 ) {
|
std::string notaryname;
|
||||||
std::string notaryname;
|
if (StakedNotaryID(notaryname, Raddress) != -1 ) {
|
||||||
if (StakedNotaryID(notaryname, Raddress) != -1 ) {
|
IS_STAKED_NOTARY = 1;
|
||||||
IS_STAKED_NOTARY = 1;
|
IS_KOMODO_NOTARY = 0;
|
||||||
IS_KOMODO_NOTARY = 0;
|
} else {
|
||||||
} else {
|
IS_STAKED_NOTARY = 0;
|
||||||
IS_STAKED_NOTARY = 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if ( height >= 0 )
|
if ( height >= 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user