From d15ec659f83f701d13709871d90bfbdc42c579ee Mon Sep 17 00:00:00 2001 From: mxaddict Date: Thu, 4 Jan 2024 20:05:22 +0800 Subject: [PATCH] Fixes for clang tidy --- src/blsct/wallet/verification.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blsct/wallet/verification.cpp b/src/blsct/wallet/verification.cpp index c095fe633bdf8..56dfc9a8c59e2 100644 --- a/src/blsct/wallet/verification.cpp +++ b/src/blsct/wallet/verification.cpp @@ -34,7 +34,7 @@ bool VerifyTx(const CTransaction& tx, const CCoinsViewCache& view, const CAmount vPubKeys.emplace_back(coin.out.blsctData.spendingKey); auto in_hash = in.GetHash(); - vMessages.emplace_back(Message(in_hash.begin(), in_hash.end())); + vMessages.emplace_back(in_hash.begin(), in_hash.end()); balanceKey = balanceKey + coin.out.blsctData.rangeProof.Vs[0]; } } @@ -45,7 +45,7 @@ bool VerifyTx(const CTransaction& tx, const CCoinsViewCache& view, const CAmount if (out.IsBLSCT()) { vPubKeys.emplace_back(out.blsctData.ephemeralKey); auto out_hash = out.GetHash(); - vMessages.emplace_back(Message(out_hash.begin(), out_hash.end())); + vMessages.emplace_back(out_hash.begin(), out_hash.end()); vProofs.emplace_back(out.blsctData.rangeProof); balanceKey = balanceKey - out.blsctData.rangeProof.Vs[0]; } else {