From 1523fa9c21aff5de787645c8928030700352b4af Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Thu, 9 Nov 2023 10:52:14 +0100 Subject: [PATCH] nit --- sdk/src/types/block/unlock/multi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/types/block/unlock/multi.rs b/sdk/src/types/block/unlock/multi.rs index 5e6f2152ad..deacf0152b 100644 --- a/sdk/src/types/block/unlock/multi.rs +++ b/sdk/src/types/block/unlock/multi.rs @@ -37,7 +37,7 @@ impl MultiUnlock { } fn verify_unlocks(unlocks: &[Unlock], _visitor: &()) -> Result<(), Error> { - if VERIFY && unlocks.iter().any(|unlock| unlock.is_multi()) { + if VERIFY && unlocks.iter().any(Unlock::is_multi) { return Err(Error::MultiUnlockRecursion); } else { Ok(())