Also print address to stderr in hush_isnotaryvout
This commit is contained in:
@@ -1429,7 +1429,7 @@ int32_t hush_isnotaryvout(char *coinaddr,uint32_t tiptime) {
|
|||||||
bool istush = strncmp(SMART_CHAIN_SYMBOL, "TUSH",4) == 0 ? true : false;
|
bool istush = strncmp(SMART_CHAIN_SYMBOL, "TUSH",4) == 0 ? true : false;
|
||||||
int32_t height = chainActive.LastTip()->GetHeight();
|
int32_t height = chainActive.LastTip()->GetHeight();
|
||||||
int32_t season = (ishush3 || istush) ? gethushseason(height) : getacseason(tiptime);
|
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 ) {
|
if ( NOTARY_ADDRESSES[season-1][0][0] == 0 ) {
|
||||||
uint8_t pubkeys[64][33];
|
uint8_t pubkeys[64][33];
|
||||||
hush_notaries(pubkeys,0,tiptime);
|
hush_notaries(pubkeys,0,tiptime);
|
||||||
|
|||||||
Reference in New Issue
Block a user