Unnecessery clones + removed unused Enum value (#1557)

* Unnecessary clone

* Removed unused Enum value

* Client - ConnectionParams wrapped with Arc + removed unnecessery clone

* Client - ConnectionParams wrapped with Arc + removed unnecessery clone
This commit is contained in:
Branislav Kontur
2022-08-26 22:25:23 +02:00
committed by Bastian Köcher
parent 793321fcfc
commit effe0f11c8
4 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ impl TransactionSignScheme for Millau {
fn sign_transaction(param: SignParam<Self>) -> Result<Self::SignedTransaction, SubstrateError> {
let raw_payload = SignedPayload::from_raw(
param.unsigned.call.clone(),
param.unsigned.call,
(
frame_system::CheckNonZeroSender::<millau_runtime::Runtime>::new(),
frame_system::CheckSpecVersion::<millau_runtime::Runtime>::new(),