Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
haerdib committed Nov 6, 2023
1 parent e03ef62 commit 6460173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions testing/examples/tungstenite_client_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ use sp_core::{
};
use sp_runtime::MultiAddress;
use substrate_api_client::{
ac_node_api::error::{DispatchError, TokenError},
ac_primitives::{AssetRuntimeConfig, ExtrinsicSigner},
extrinsic::BalancesExtrinsics,
rpc::TungsteniteRpcClient,
Expand Down Expand Up @@ -53,7 +52,7 @@ fn main() {

// Check for successful extrinisc
let xt = api.balance_transfer_allow_death(MultiAddress::Id(bob.into()), bob_balance / 2);
let block_hash = api
let _block_hash = api
.submit_and_watch_extrinsic_until(xt, XtStatus::InBlock)
.unwrap()
.block_hash
Expand Down
3 changes: 1 addition & 2 deletions testing/examples/ws_client_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ use sp_core::{
};
use sp_runtime::MultiAddress;
use substrate_api_client::{
ac_node_api::error::{DispatchError, TokenError},
ac_primitives::{AssetRuntimeConfig, ExtrinsicSigner},
extrinsic::BalancesExtrinsics,
rpc::WsRpcClient,
Expand Down Expand Up @@ -53,7 +52,7 @@ fn main() {

// Check for successful extrinisc
let xt = api.balance_transfer_allow_death(MultiAddress::Id(bob.into()), bob_balance / 2);
let block_hash = api
let _block_hash = api
.submit_and_watch_extrinsic_until(xt, XtStatus::InBlock)
.unwrap()
.block_hash
Expand Down

0 comments on commit 6460173

Please sign in to comment.