This commit is contained in:
@@ -289,6 +289,7 @@ UniValue NSPV_getinfo_json()
|
|||||||
UniValue NSPV_addressutxos(char *coinaddr)
|
UniValue NSPV_addressutxos(char *coinaddr)
|
||||||
{
|
{
|
||||||
UniValue result(UniValue::VOBJ); uint8_t msg[64]; int32_t i,slen,len = 0;
|
UniValue result(UniValue::VOBJ); uint8_t msg[64]; int32_t i,slen,len = 0;
|
||||||
|
fprintf(stderr,"utxos %s NSPV addr %s\n",coinaddr,NSPV_address.c_str());
|
||||||
if ( bitcoin_base58decode(msg,coinaddr) != 25 )
|
if ( bitcoin_base58decode(msg,coinaddr) != 25 )
|
||||||
{
|
{
|
||||||
result.push_back(Pair("result","error"));
|
result.push_back(Pair("result","error"));
|
||||||
|
|||||||
Reference in New Issue
Block a user