mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Remove duplicate uriParts.size() > 0 check
This commit is contained in:
parent
7466991670
commit
b5fb33943f
@ -409,10 +409,8 @@ static bool rest_getutxos(HTTPRequest* req, const std::string& strURIPart)
|
|||||||
|
|
||||||
if (uriParts.size() > 0)
|
if (uriParts.size() > 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
//inputs is sent over URI scheme (/rest/getutxos/checkmempool/txid1-n/txid2-n/...)
|
//inputs is sent over URI scheme (/rest/getutxos/checkmempool/txid1-n/txid2-n/...)
|
||||||
if (uriParts.size() > 0 && uriParts[0] == "checkmempool")
|
if (uriParts[0] == "checkmempool") fCheckMemPool = true;
|
||||||
fCheckMemPool = true;
|
|
||||||
|
|
||||||
for (size_t i = (fCheckMemPool) ? 1 : 0; i < uriParts.size(); i++)
|
for (size_t i = (fCheckMemPool) ? 1 : 0; i < uriParts.size(); i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user