Remove guard

This commit is contained in:
jl777
2019-07-04 03:15:54 -11:00
parent a53d5c6d7e
commit 74440595f5

View File

@@ -947,8 +947,6 @@ UniValue NSPV_addressutxos(char *coinaddr)
result.push_back(Pair("error","invalid address"));
return(result);
}
if ( NSPV_inforesult.height == 0 || NSPV_utxosresult.nodeheight < NSPV_inforesult.height )
{
if ( NSPV_inforesult.height == 0 )
{
msg[0] = NSPV_INFO;
@@ -970,7 +968,6 @@ UniValue NSPV_addressutxos(char *coinaddr)
return(NSPV_utxosresp_json(&NSPV_utxosresult));
}
}
}
result.push_back(Pair("result","error"));
result.push_back(Pair("error","no utxos result"));
return(result);