Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
2aaca19fa8
  1. 2
      basilisk/basilisk_DEX.c
  2. 1
      basilisk/basilisk_swap.c

2
basilisk/basilisk_DEX.c

@ -182,7 +182,7 @@ cJSON *basilisk_requestjson(uint32_t relaybits,struct basilisk_request *rp)
printf(" <- R mismatch\n");
for (i=0; i<sizeof(R); i++)
if ( ((uint8_t *)rp)[i] != ((uint8_t *)&R)[i] )
printf("%d ",i);
printf("(%02x %02x).%d ",((uint8_t *)rp)[i],((uint8_t *)&R)[i],i);
printf("mismatches\n");
} else printf("matched JSON conv %u %u\n",basilisk_requestid(&R),basilisk_requestid(rp));
}

1
basilisk/basilisk_swap.c

@ -185,7 +185,6 @@ int32_t basilisk_rawtx_gen(char *str,struct supernet_info *myinfo,struct basilis
}
free(retstr);
} else printf("error creating %s feetx\n",swap->iambob != 0 ? "BOB" : "ALICE");
free_json(addresses);
free_json(valsobj);
return(retval);
}

Loading…
Cancel
Save