Also print address to stderr in hush_isnotaryvout

This commit is contained in:
Duke
2024-09-17 13:11:11 -04:00
parent bd967b7ac6
commit 27f72405b2

View File

@@ -1429,7 +1429,7 @@ int32_t hush_isnotaryvout(char *coinaddr,uint32_t tiptime) {
bool istush = strncmp(SMART_CHAIN_SYMBOL, "TUSH",4) == 0 ? true : false;
int32_t height = chainActive.LastTip()->GetHeight();
int32_t season = (ishush3 || istush) ? gethushseason(height) : getacseason(tiptime);
fprintf(stderr,"%s: season=%d, tiptime=%d\n", __func__, season,tiptime);
fprintf(stderr,"%s: coinaddr=%s season=%d, tiptime=%d\n", __func__, coinaddr, season,tiptime);
if ( NOTARY_ADDRESSES[season-1][0][0] == 0 ) {
uint8_t pubkeys[64][33];
hush_notaries(pubkeys,0,tiptime);