aboutsummaryrefslogtreecommitdiff
path: root/src/rest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rest.cpp')
-rw-r--r--src/rest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest.cpp b/src/rest.cpp
index ba149c1a9e..e094039366 100644
--- a/src/rest.cpp
+++ b/src/rest.cpp
@@ -798,7 +798,7 @@ static bool rest_getutxos(const std::any& context, HTTPRequest* req, const std::
return RESTERR(req, HTTP_BAD_REQUEST, "Parse error");
txid.SetHex(strTxid);
- vOutPoints.push_back(COutPoint(txid, (uint32_t)nOutput));
+ vOutPoints.emplace_back(txid, (uint32_t)nOutput);
}
if (vOutPoints.size() > 0)