From 0c5d565c14749ef1c8d5ac8c0740b92fc420ff55 Mon Sep 17 00:00:00 2001 From: daniela Date: Thu, 30 Jul 2026 08:55:44 +0100 Subject: [PATCH] fix: seize_collateral parameter name _invoice_id to invoice_id (#909) --- contracts/pool/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contracts/pool/src/lib.rs b/contracts/pool/src/lib.rs index 8d25548f..aa74e5e8 100644 --- a/contracts/pool/src/lib.rs +++ b/contracts/pool/src/lib.rs @@ -4475,7 +4475,8 @@ impl FundingPool { /// through the two-step proposal flow (`propose_operation` → wait → /// `execute_operation`). Calling it directly is rejected with /// `OperationRequiresProposal`. - pub fn seize_collateral(env: Env, admin: Address, _invoice_id: u64) -> Result<(), PoolError> { + pub fn seize_collateral(env: Env, admin: Address, invoice_id: u64) -> Result<(), PoolError> { + let _ = invoice_id; admin.require_auth(); bump_instance(&env); Self::require_admin(&env, &admin)?;