From e3e9fb59d8ca36b7553cc894ddb4d783c7f12126 Mon Sep 17 00:00:00 2001 From: Joshy Orndorff Date: Tue, 6 Feb 2024 12:05:29 -0500 Subject: [PATCH] update verifier signature in macro --- tuxedo-core/aggregator/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tuxedo-core/aggregator/src/lib.rs b/tuxedo-core/aggregator/src/lib.rs index f12f78f8b..4a167dbbf 100644 --- a/tuxedo-core/aggregator/src/lib.rs +++ b/tuxedo-core/aggregator/src/lib.rs @@ -84,10 +84,10 @@ pub fn tuxedo_verifier(_: TokenStream, body: TokenStream) -> TokenStream { #original_code impl tuxedo_core::Verifier for #outer_type { - fn verify(&self, simplified_tx: &[u8], redeemer: &[u8]) -> bool { + fn verify(&self, simplified_tx: &[u8], block_number: u32, redeemer: &[u8]) -> bool { match self { #( - Self::#variants(inner) => inner.verify(simplified_tx, redeemer), + Self::#variants(inner) => inner.verify(simplified_tx, block_number, redeemer), )* } }