From 823c5e28929255093e757f0b35a15b55e586fa2c Mon Sep 17 00:00:00 2001 From: mxaddict Date: Thu, 4 Jan 2024 19:34:05 +0800 Subject: [PATCH] Fixes for clang tidy --- src/blsct/wallet/txfactory_global.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blsct/wallet/txfactory_global.cpp b/src/blsct/wallet/txfactory_global.cpp index 24d7f9bd848ac..3d3a9d8783166 100644 --- a/src/blsct/wallet/txfactory_global.cpp +++ b/src/blsct/wallet/txfactory_global.cpp @@ -107,7 +107,7 @@ CTransactionRef AggregateTransactions(const std::vector& txs) } } - ret.vout.push_back(CTxOut{nFee, CScript{OP_RETURN}}); + ret.vout.emplace_back(CTxOut{nFee, CScript{OP_RETURN}}); ret.txSig = blsct::Signature::Aggregate(vSigs); ret.nVersion = CTransaction::BLSCT_MARKER;