Remove guard
This commit is contained in:
@@ -947,8 +947,6 @@ UniValue NSPV_addressutxos(char *coinaddr)
|
|||||||
result.push_back(Pair("error","invalid address"));
|
result.push_back(Pair("error","invalid address"));
|
||||||
return(result);
|
return(result);
|
||||||
}
|
}
|
||||||
if ( NSPV_inforesult.height == 0 || NSPV_utxosresult.nodeheight < NSPV_inforesult.height )
|
|
||||||
{
|
|
||||||
if ( NSPV_inforesult.height == 0 )
|
if ( NSPV_inforesult.height == 0 )
|
||||||
{
|
{
|
||||||
msg[0] = NSPV_INFO;
|
msg[0] = NSPV_INFO;
|
||||||
@@ -970,7 +968,6 @@ UniValue NSPV_addressutxos(char *coinaddr)
|
|||||||
return(NSPV_utxosresp_json(&NSPV_utxosresult));
|
return(NSPV_utxosresp_json(&NSPV_utxosresult));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
result.push_back(Pair("result","error"));
|
result.push_back(Pair("result","error"));
|
||||||
result.push_back(Pair("error","no utxos result"));
|
result.push_back(Pair("error","no utxos result"));
|
||||||
return(result);
|
return(result);
|
||||||
|
|||||||
Reference in New Issue
Block a user