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;