mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 09:21:05 +00:00
committed by
Bastian Köcher
parent
133934df7c
commit
d04b018630
@@ -198,7 +198,7 @@ impl SenderOrigin<AccountId> for Origin {
|
||||
fn linked_account(&self) -> Option<AccountId> {
|
||||
match self.caller {
|
||||
OriginCaller::system(frame_system::RawOrigin::Signed(ref submitter)) =>
|
||||
Some(submitter.clone()),
|
||||
Some(*submitter),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ pub struct OutboundLane<S> {
|
||||
}
|
||||
|
||||
impl<S: OutboundLaneStorage> OutboundLane<S> {
|
||||
/// Create new inbound lane backed by given storage.
|
||||
/// Create new outbound lane backed by given storage.
|
||||
pub fn new(storage: S) -> Self {
|
||||
OutboundLane { storage }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user