mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +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)
|
||||
{
|
||||
|
||||
//inputs is sent over URI scheme (/rest/getutxos/checkmempool/txid1-n/txid2-n/...)
|
||||
if (uriParts.size() > 0 && uriParts[0] == "checkmempool")
|
||||
fCheckMemPool = true;
|
||||
if (uriParts[0] == "checkmempool") fCheckMemPool = true;
|
||||
|
||||
for (size_t i = (fCheckMemPool) ? 1 : 0; i < uriParts.size(); i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user