From fa907efa94c3e2a123fb3fb194eec13671b8c4f9 Mon Sep 17 00:00:00 2001 From: Eric Nordelo Date: Thu, 2 Jul 2026 13:41:12 +0200 Subject: [PATCH] feat: apply fix --- contracts/finance/sources/vesting_wallet_linear.move | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/finance/sources/vesting_wallet_linear.move b/contracts/finance/sources/vesting_wallet_linear.move index ddc18e40..6161b89d 100644 --- a/contracts/finance/sources/vesting_wallet_linear.move +++ b/contracts/finance/sources/vesting_wallet_linear.move @@ -370,7 +370,7 @@ public fun releasable(wallet: &VestingWallet, clock: &Cloc /// - `ENotEnded` if called before the schedule's end (`start_ms + period_ms * steps`). /// - `ENotBeneficiary` if the caller is not the wallet's beneficiary. public fun destroy(receipt: DestroyReceipt, clock: &Clock, ctx: &mut TxContext) { - let (beneficiary, params) = vesting_wallet::consume_receipt(receipt, Linear {}); + let (beneficiary, params) = receipt.consume_receipt(Linear {}); assert!(clock.timestamp_ms() >= params.calculate_end(), ENotEnded); assert!(ctx.sender() == beneficiary, ENotBeneficiary); }