|
|
@ -15,10 +15,10 @@ |
|
|
|
|
|
|
|
#define issue_curl(cmdstr) bitcoind_RPC(0,"curl",cmdstr,0,0,0) |
|
|
|
|
|
|
|
int32_t komodo_notaries(uint8_t pubkeys[64][33],int32_t kmdheight) |
|
|
|
int32_t komodo_notaries(char *symbol,uint8_t pubkeys[64][33],int32_t kmdheight) |
|
|
|
{ |
|
|
|
int32_t i,num=-1; struct iguana_info *coin; char params[256],*retstr,*pubkeystr; cJSON *retjson,*item,*array; |
|
|
|
if ( (coin= iguana_coinfind("KMD")) != 0 ) |
|
|
|
if ( (coin= iguana_coinfind(symbol)) != 0 ) |
|
|
|
{ |
|
|
|
if ( coin->FULLNODE < 0 ) |
|
|
|
{ |
|
|
|