Skip to content
Snippets Groups Projects
Commit 14a08d43 authored by Tomasz Drwięga's avatar Tomasz Drwięga Committed by Bastian Köcher
Browse files

Add `Clone` bound to the `Origin`. (#4472)

parent 328563f8
No related merge requests found
...@@ -158,7 +158,9 @@ pub fn extrinsics_data_root<H: Hash>(xts: Vec<Vec<u8>>) -> H::Output { ...@@ -158,7 +158,9 @@ pub fn extrinsics_data_root<H: Hash>(xts: Vec<Vec<u8>>) -> H::Output {
pub trait Trait: 'static + Eq + Clone { pub trait Trait: 'static + Eq + Clone {
/// The aggregated `Origin` type used by dispatchable calls. /// The aggregated `Origin` type used by dispatchable calls.
type Origin: type Origin:
Into<Result<RawOrigin<Self::AccountId>, Self::Origin>> + From<RawOrigin<Self::AccountId>>; Into<Result<RawOrigin<Self::AccountId>, Self::Origin>>
+ From<RawOrigin<Self::AccountId>>
+ Clone;
/// The aggregated `Call` type. /// The aggregated `Call` type.
type Call: Debug; type Call: Debug;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment