Browse Source

test

etomic
jl777 8 years ago
parent
commit
613f25c68e
  1. 1
      iguana/kmd_lookup.h
  2. 2
      iguana/tests/sendtoaddress

1
iguana/kmd_lookup.h

@ -430,7 +430,6 @@ int32_t _kmd_bitcoinscan(struct iguana_info *coin)
void kmd_bitcoinscan() void kmd_bitcoinscan()
{ {
char *retstr; cJSON *array; int32_t i,n; struct iguana_info *coin; char *retstr; cJSON *array; int32_t i,n; struct iguana_info *coin;
return;
if ( (retstr= dpow_notarychains(0,0,0,0)) != 0 ) if ( (retstr= dpow_notarychains(0,0,0,0)) != 0 )
{ {
if ( (array= cJSON_Parse(retstr)) != 0 ) if ( (array= cJSON_Parse(retstr)) != 0 )

2
iguana/tests/sendtoaddress

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
curl --url "http://127.0.0.1:7778" --data "{\"coin\":\"BTCD\",\"method\":\"sendtoaddress\",\"params\":[\"RVQV5spiARDTqfwBCxstWnMbrT6Q8mhRYz\", 0.15, \"testcomment\", \"sendcomment\"]}" curl --url "http://127.0.0.1:7778" --data "{\"coin\":\"KMD\",\"method\":\"sendtoaddress\",\"params\":[\"RVQV5spiARDTqfwBCxstWnMbrT6Q8mhRYz\", 0.15, \"testcomment\", \"sendcomment\"]}"

Loading…
Cancel
Save