Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix EnsureOriginWithArg
  • Loading branch information
muharem committed Jan 20, 2023
commit b32b3a7b4eaf94dcaccf2d6b1d2838685809df57
2 changes: 1 addition & 1 deletion frame/support/src/traits/dispatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ pub trait EnsureOriginWithArg<OuterOrigin, Argument> {
///
/// ** Should be used for benchmarking only!!! **
#[cfg(feature = "runtime-benchmarks")]
fn try_successful_origin() -> Result<OuterOrigin, ()> {
fn try_successful_origin(a: &Argument) -> Result<OuterOrigin, ()> {
unimplemented!()
}
}
Expand Down