fix
This commit is contained in:
@@ -708,7 +708,7 @@ void komodo_init(int32_t height)
|
|||||||
NOTARY_ADDRESS = address.ToString();
|
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;
|
std::string notaryname;
|
||||||
if (StakedNotaryID(notaryname, NOTARY_ADDRESS.c_str()) != -1 ) {
|
if (StakedNotaryID(notaryname, Raddress) != -1 ) {
|
||||||
IS_STAKED_NOTARY = 1;
|
IS_STAKED_NOTARY = 1;
|
||||||
IS_KOMODO_NOTARY = 0;
|
IS_KOMODO_NOTARY = 0;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1202,7 +1202,7 @@ bool CWallet::UpdatedNoteData(const CWalletTx& wtxIn, CWalletTx& wtx)
|
|||||||
*/
|
*/
|
||||||
extern uint8_t NOTARY_PUBKEY33[33];
|
extern uint8_t NOTARY_PUBKEY33[33];
|
||||||
extern std::string NOTARY_ADDRESS;
|
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)
|
bool CWallet::AddToWalletIfInvolvingMe(const CTransaction& tx, const CBlock* pblock, bool fUpdate)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user