From 27e9965efd4b3b6d4beffefeb08ef902a6a37c49 Mon Sep 17 00:00:00 2001 From: Prasanna Loganathar Date: Mon, 6 Jun 2022 12:43:16 +0530 Subject: [PATCH] Move boost up to 1.77 (#1328) * Move boost to 1.77 Co-authored-by: Peter Bushnell --- depends/packages/boost.mk | 4 ++-- src/masternodes/mn_checks.h | 1 + src/validation.cpp | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/depends/packages/boost.mk b/depends/packages/boost.mk index 0e31ff9ceb..662a4daaa0 100644 --- a/depends/packages/boost.mk +++ b/depends/packages/boost.mk @@ -10,8 +10,8 @@ package=boost # 77: fc9f85fc030e233142908241af7a846e60630aa7388de9a5fafb1f3a26840854 # 78: 8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc -$(package)_version=1_75_0 -$(package)_sha256_hash=953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb +$(package)_version=1_77_0 +$(package)_sha256_hash=fc9f85fc030e233142908241af7a846e60630aa7388de9a5fafb1f3a26840854 $(package)_version_dot=$(subst _,.,$($(package)_version)) $(package)_download_path=https://boostorg.jfrog.io/artifactory/main/release/$($(package)_version_dot)/source/ diff --git a/src/masternodes/mn_checks.h b/src/masternodes/mn_checks.h index a47b702d27..2424220d65 100644 --- a/src/masternodes/mn_checks.h +++ b/src/masternodes/mn_checks.h @@ -100,6 +100,7 @@ enum class CustomTxType : uint8_t PaybackLoan = 'H', PaybackLoanV2 = 'k', AuctionBid = 'I', + // Marker TXs FutureSwapExecution = 'q', FutureSwapRefund = 'w', }; diff --git a/src/validation.cpp b/src/validation.cpp index a68d55ece4..4b986942c9 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -4360,8 +4360,7 @@ static Res VaultSplits(CCustomCSView& view, ATTRIBUTES& attributes, const DCT_ID auto oldTokenAmount = value.second; auto newTokenAmount = CTokenAmount{newTokenId, CalculateNewAmount(multiplier, oldTokenAmount.nValue)}; - value.second.nTokenId = newTokenAmount.nTokenId; - value.second.nValue = newTokenAmount.nValue; + value.second = newTokenAmount; view.StoreAuctionBid(key, value);