hacky fix

This commit is contained in:
blackjok3r
2018-11-02 23:33:41 +08:00
parent 7ccc6fe7ed
commit 099b691e24
2 changed files with 13 additions and 9 deletions

View File

@@ -1045,6 +1045,7 @@ bool CheckTransaction(const CTransaction& tx, CValidationState &state,
}
}
extern char NOTARYADDRS[18][64];
bool pubkey2addr(char *destaddr,uint8_t *pubkey33);
int32_t komodo_isnotaryvout(char *coinaddr) // from ac_private chains only
{
@@ -1068,6 +1069,11 @@ int32_t komodo_isnotaryvout(char *coinaddr) // from ac_private chains only
return(0);
}
int32_t pubkey2address(char *destaddr,uint8_t *pubkey33)
{
pubkey2addr((char *)destaddr,(uint8_t *)pubkey33);
}
bool CheckTransactionWithoutProofVerification(const CTransaction& tx, CValidationState &state)
{
// Basic checks that don't depend on any context