Skip to content

Commit

Permalink
Fixes for clang tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
mxaddict committed Jan 4, 2024
1 parent 823c5e2 commit d15ec65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blsct/wallet/verification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
}
Expand All @@ -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 {
Expand Down

0 comments on commit d15ec65

Please sign in to comment.