miodrag patches to help get gcc12 building hushd

This commit is contained in:
jahway603
2023-04-03 22:23:30 -04:00
parent ca36706001
commit bb7cb253c1
9 changed files with 159 additions and 4 deletions

View File

@@ -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 )