Skip to content

Commit

Permalink
post-review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazark0x committed Oct 30, 2024
1 parent bb4a2a0 commit 244b2ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pallets/gear-builtin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ impl<T: Config> BuiltinRegistry<T> {

impl<T: Config> BuiltinDispatcher for BuiltinRegistry<T> {
type Error = BuiltinActorError;

fn lookup<'a>(&'a self, id: &ProgramId) -> Option<&'a ActorErrorHandleFn> {
self.registry.get(id).map(|f| &**f)
}
Expand Down

0 comments on commit 244b2ab

Please sign in to comment.