Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
834769e4ca
  1. 4
      iguana/iguana_realtime.c
  2. 2
      iguana/tests/sendtoaddress

4
iguana/iguana_realtime.c

@ -816,8 +816,10 @@ int32_t iguana_RTunspentindfind(struct supernet_info *myinfo,struct iguana_info
{
outpt->ptr = ptr;
if ( valuep != 0 )
{
*valuep = value;
outpt->value = *valuep;
outpt->value = *valuep;
}
return(0);
}
else

2
iguana/tests/sendtoaddress

@ -1,2 +1,2 @@
curl --url "http://127.0.0.1:7778" --data "{\"method\":\"sendtoaddress\",\"params\":[\"RKk3hmkHr3khf2aQRZW51oxnzFVHsQe4hf\", 0.001, \"testcomment\", \"sendcomment\"]}"
curl --url "http://127.0.0.1:7778" --data "{\"coin\":\"BTCD\",\"method\":\"sendtoaddress\",\"params\":[\"RKk3hmkHr3khf2aQRZW51oxnzFVHsQe4hf\", 0.001, \"testcomment\", \"sendcomment\"]}"

Loading…
Cancel
Save