Closed acul71 closed 3 years ago
Fix (from https://github.com/DeckerSU/KomodoOcean/commits?author=DeckerSU ) : https://github.com/DeckerSU/KomodoOcean/commit/f4ed74c66beb6abf329c7e9fb3af3b3fb6199c8f In src/komodo_bitcoind.h change line 532 from:
if ( (txjson= jobj(json,(char *)"result")) != 0 && (vouts= jarray(&n,txjson,(char *)"vout")) > 0 )
to:
if ( (txjson= jobj(json,(char *)"result")) != 0 && (vouts= jarray(&n,txjson,(char *)"vout")) != 0 )
Describe the bug Compiling pirate for Arch Linux fail:
To Reproduce Steps to reproduce the behavior:
Additional context The function jarray is of type CJSON but it can return int(0) see last line: Is this ok?