This commit is contained in:
blackjok3r
2018-11-02 18:51:41 +08:00
parent 351405ce37
commit 234da7a784

View File

@@ -1044,7 +1044,7 @@ bool CheckTransaction(const CTransaction& tx, CValidationState &state,
return true; return true;
} }
} }
extern NOTARYADDRS[18][64]; extern char NOTARYADDRS[18][64];
int32_t komodo_isnotaryvout(char *coinaddr) // from ac_private chains only int32_t komodo_isnotaryvout(char *coinaddr) // from ac_private chains only
{ {
@@ -1062,7 +1062,7 @@ int32_t komodo_isnotaryvout(char *coinaddr) // from ac_private chains only
} }
didinit = 1; didinit = 1;
} */ } */
for (i=0; i<=64; i++) for (int32_t i=0; i<=64; i++)
if ( strcmp(coinaddr,NOTARYADDRS[i]) == 0 ) if ( strcmp(coinaddr,NOTARYADDRS[i]) == 0 )
return(1); return(1);
return(0); return(0);