From e1d6f7dd0e6eb2d9ab22b1756b166473a5b4ae02 Mon Sep 17 00:00:00 2001 From: jahway603 Date: Tue, 4 Apr 2023 12:53:46 -0400 Subject: [PATCH] successfully built in Arch Linux with gcc12 --- src/hush_bitcoind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hush_bitcoind.h b/src/hush_bitcoind.h index 77ded63f8..b09c756ad 100644 --- a/src/hush_bitcoind.h +++ b/src/hush_bitcoind.h @@ -505,7 +505,7 @@ int32_t hush_verifynotarization(char *symbol,char *dest,int32_t height,int32_t N { if ( (json= cJSON_Parse(jsonstr)) != 0 ) { - if ( (txjson= jobj(json,(char *)"result")) != 0 && (vouts= jarray(&n,txjson,(char *)"vout")) > 0 ) + if ( (txjson= jobj(json,(char *)"result")) != 0 && (vouts= jarray(&n,txjson,(char *)"vout")) != 0 ) { vout = jitem(vouts,n-1); if ( 0 && SMART_CHAIN_SYMBOL[0] != 0 )