Extract unsigned tx from the SignParam structure (#1561)

* change sign_transaction method

* clippy

* rustup update && clippy

* remove redudnant clone
This commit is contained in:
Svyatoslav Nikolsky
2022-08-30 13:58:37 +03:00
committed by Bastian Köcher
parent effe0f11c8
commit f35b4f4897
29 changed files with 434 additions and 402 deletions
@@ -28,6 +28,7 @@ use relay_substrate_client::{
};
use relay_utils::{
metrics::MetricsParams, relay_loop::Client as RelayClient, FailedClient, MaybeConnectionError,
STALL_TIMEOUT,
};
use crate::{
@@ -37,7 +38,7 @@ use crate::{
SubstrateFinalitySyncPipeline, RECENT_FINALITY_PROOFS_LIMIT,
},
on_demand::OnDemandRelay,
TransactionParams, STALL_TIMEOUT,
TransactionParams,
};
/// On-demand Substrate <-> Substrate header finality relay.