Skip to content

Commit

Permalink
Mac build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
levonpetrosyan93 committed Oct 29, 2023
1 parent 4cb091b commit 6524f82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ bool VerifyPrivateTxOwn(const uint256& txid, const std::vector<unsigned char>& v
return false;
}

size_t count = 0;
uint32_t count = 0;

for (const auto& pub : pubKeys) {
ss << count;
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3363,7 +3363,7 @@ std::vector<unsigned char> CWallet::ProvePrivateTxOwn(const uint256& txid, const
return result;
}
const auto& serials = joinsplit->getCoinSerialNumbers();
size_t count = 0;
uint32_t count = 0;
result.resize(serials.size() * 64);

for (const auto& serial : serials) {
Expand Down

0 comments on commit 6524f82

Please sign in to comment.