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 {

View File

@@ -1202,7 +1202,7 @@ bool CWallet::UpdatedNoteData(const CWalletTx& wtxIn, CWalletTx& wtx)
*/
extern uint8_t NOTARY_PUBKEY33[33];
extern std::string NOTARY_ADDRESS;
extern int32_t IS_KOMODO_NOTARY;
extern int32_t IS_STAKED_NOTARY;
bool CWallet::AddToWalletIfInvolvingMe(const CTransaction& tx, const CBlock* pblock, bool fUpdate)
{