Skip to content

Commit

Permalink
update verifier signature in macro
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshOrndorff committed Feb 6, 2024
1 parent c989b0a commit e3e9fb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tuxedo-core/aggregator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
)*
}
}
Expand Down

0 comments on commit e3e9fb5

Please sign in to comment.