mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 08:35:40 +00:00
Correct type error (#968)
This commit is contained in:
@@ -59,7 +59,7 @@ impl SubstrateMessageLane for MillauMessagesToRialto {
|
|||||||
type SourceChain = Millau;
|
type SourceChain = Millau;
|
||||||
type TargetChain = Rialto;
|
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()
|
(*self.source_sign.public().as_array_ref()).into()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ impl SubstrateMessageLane for RialtoMessagesToMillau {
|
|||||||
Bytes(transaction.encode())
|
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()
|
(*self.target_sign.public().as_array_ref()).into()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user