Correct type error (#968)

This commit is contained in:
fewensa authored and Bastian Köcher committed 2024-04-10 10:28:37 +02:00
1 parent bfaa6a4309
commit 51bba378ca
2 files changed
+2 -2

No files matched your search

@@ -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()
}
@@ -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()
}