From 6524f8207e975225bab58f4ebef504a1ef677393 Mon Sep 17 00:00:00 2001 From: levonpetrosyan93 Date: Mon, 30 Oct 2023 02:17:23 +0400 Subject: [PATCH] Mac build fix --- src/validation.cpp | 2 +- src/wallet/wallet.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/validation.cpp b/src/validation.cpp index 692c9b3340..e6ea80156a 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -357,7 +357,7 @@ bool VerifyPrivateTxOwn(const uint256& txid, const std::vector& v return false; } - size_t count = 0; + uint32_t count = 0; for (const auto& pub : pubKeys) { ss << count; diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 697c7a20bf..0462d22ffb 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -3363,7 +3363,7 @@ std::vector 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) {