From 24faedd6862f20f1981c1a6288a6f6fce170a6e1 Mon Sep 17 00:00:00 2001 From: agureev Date: Thu, 9 Jul 2026 00:08:41 +0400 Subject: [PATCH] feat: relax the mask length requirement --- lez/wallet/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lez/wallet/src/lib.rs b/lez/wallet/src/lib.rs index 0b49e726..661304e7 100644 --- a/lez/wallet/src/lib.rs +++ b/lez/wallet/src/lib.rs @@ -508,7 +508,7 @@ impl WalletCore { ) -> Result<()> { let note_count = tx.message.validate_note_lengths()?; anyhow::ensure!( - note_count == acc_decode_mask.len(), + note_count >= acc_decode_mask.len(), "Decode mask has {} entries but the transaction has {note_count} notes", acc_decode_mask.len(), );