From 257ef55953136f4544de4e6c700fb7371fbe7397 Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Thu, 27 Feb 2025 09:39:13 +0100 Subject: [PATCH] marketplace: designate validator rewards so that they can no longer be transfered within the vault --- contracts/Marketplace.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/Marketplace.sol b/contracts/Marketplace.sol index a255983..0c90bdf 100644 --- a/contracts/Marketplace.sol +++ b/contracts/Marketplace.sol @@ -319,6 +319,7 @@ contract Marketplace is SlotReservations, Proofs, StateRetrieval, Endian { AccountId hostAccount = _vault.hostAccount(slot.host, slot.slotIndex); AccountId validatorAccount = _vault.validatorAccount(msg.sender); _vault.transfer(fund, hostAccount, validatorAccount, validatorReward); + _vault.designate(fund, validatorAccount, validatorReward); _vault.burnDesignated(fund, hostAccount, slashedAmount - validatorReward); if (missingProofs(slotId) >= _config.collateral.maxNumberOfSlashes) {