Skip to content

Commit

Permalink
runtime/src/transaction: Fix is_supported call to boxed dispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
peternose committed Feb 12, 2025
1 parent 36a60b9 commit cc098cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Empty file added .changelog/6058.bugfix.md
Empty file.
4 changes: 4 additions & 0 deletions runtime/src/transaction/dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ pub trait Dispatcher: Send + Sync {
}

impl<T: Dispatcher + ?Sized> Dispatcher for Box<T> {
fn is_supported(&self) -> bool {
T::is_supported(&**self)
}

fn execute_batch(
&self,
ctx: Context,
Expand Down

0 comments on commit cc098cf

Please sign in to comment.