Correct type error (#968)

This commit is contained in:
fewensa
2021-05-13 19:55:35 +08:00
committed by Bastian Köcher
parent bfaa6a4309
commit 51bba378ca
2 changed files with 2 additions and 2 deletions
@@ -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()
}