Skip to content

Commit

Permalink
Correct type error (paritytech#968)
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored and serban300 committed Apr 9, 2024
1 parent 23e1148 commit d37d06a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl SubstrateMessageLane for MillauMessagesToRialto {
type SourceChain = Millau;
type TargetChain = Rialto;

fn source_transactions_author(&self) -> bp_rialto::AccountId {
fn source_transactions_author(&self) -> bp_millau::AccountId {
(*self.source_sign.public().as_array_ref()).into()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl SubstrateMessageLane for RialtoMessagesToMillau {
Bytes(transaction.encode())
}

fn target_transactions_author(&self) -> bp_rialto::AccountId {
fn target_transactions_author(&self) -> bp_millau::AccountId {
(*self.target_sign.public().as_array_ref()).into()
}

Expand Down

0 comments on commit d37d06a

Please sign in to comment.