diff --git a/iguana/main.c b/iguana/main.c index 31524bd16..5505629e4 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -1780,4 +1780,5 @@ void iguana_main(void *arg) // features // komodod convert passphrase to privkey +// Z -> Z // iguana init nanomsg in own thread \ No newline at end of file diff --git a/iguana/tests/dexlistunspent b/iguana/tests/dexlistunspent index 7d7838709..eacff16cc 100755 --- a/iguana/tests/dexlistunspent +++ b/iguana/tests/dexlistunspent @@ -1,2 +1,2 @@ #!/bin/bash -curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RKyuFwhojJgYNUQjuHWEcDUouiPHCpbRS6\",\"symbol\":\"KMD\"}" +curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"dex\",\"method\":\"listunspent\",\"address\":\"RU58D7nNLXwD29hgC2MPgtAF458gGxnPYS\",\"symbol\":\"KMD\"}" diff --git a/iguana/tests/listunspent b/iguana/tests/listunspent index bec4770b5..7457d95e3 100755 --- a/iguana/tests/listunspent +++ b/iguana/tests/listunspent @@ -1,2 +1,2 @@ #!/bin/bash -curl --url "http://127.0.0.1:7778" --data "{\"coin\":\"KMD\",\"method\":\"listunspent\",\"params\":[1, 9999999, []]}" +curl --url "http://127.0.0.1:7778" --data "{\"coin\":\"KMD\",\"method\":\"listunspent\",\"params\":[1, 9999999, [\"RU58D7nNLXwD29hgC2MPgtAF458gGxnPYS\"]]}" diff --git a/includes/iguana_apideclares.h b/includes/iguana_apideclares.h index cae8b60f4..8f621e2fb 100755 --- a/includes/iguana_apideclares.h +++ b/includes/iguana_apideclares.h @@ -37,6 +37,7 @@ TWO_STRINGS(dex,sendrawtransaction,symbol,signedtx); HASH_AND_STRING_AND_INT(dex,gettxout,txid,symbol,vout); TWO_STRINGS(dex,importaddress,symbol,address); TWO_STRINGS(dex,validateaddress,symbol,address); +TWO_STRINGS(dex,checkaddress,symbol,address); TWO_STRINGS(dex,listunspent,symbol,address); TWO_STRINGS_AND_TWO_DOUBLES(dex,listtransactions,symbol,address,count,skip); TWO_STRINGS(dex,kvsearch,symbol,key);