|
|
|
@ -409,10 +409,8 @@ static bool rest_getutxos(HTTPRequest* req, const std::string& strURIPart)
@@ -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++) |
|
|
|
|
{ |
|
|
|
|