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 8, 2024
1 parent a33263a commit 29adc22
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 29adc22

Please sign in to comment.