|
@ -740,7 +740,7 @@ int32_t dpow_mostsignedtx(struct supernet_info *myinfo,struct dpow_info *dp,stru |
|
|
{ |
|
|
{ |
|
|
for (j=0; j<sizeof(desthash); j++) |
|
|
for (j=0; j<sizeof(desthash); j++) |
|
|
desthash.bytes[j] = notaries[i].pubkey[j+1]; |
|
|
desthash.bytes[j] = notaries[i].pubkey[j+1]; |
|
|
if ( (retarray= basilisk_channelget(myinfo,srchash,desthash,channel,height,0)) != 0 ) |
|
|
if ( (retarray= basilisk_channelget(myinfo,desthash,srchash,channel,height,0)) != 0 ) |
|
|
{ |
|
|
{ |
|
|
//printf("RETARRAY.(%s)\n",jprint(retarray,0));
|
|
|
//printf("RETARRAY.(%s)\n",jprint(retarray,0));
|
|
|
if ( (m= cJSON_GetArraySize(retarray)) != 0 ) |
|
|
if ( (m= cJSON_GetArraySize(retarray)) != 0 ) |
|
|