Skip to content

Commit

Permalink
chore: fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommytrg committed Dec 18, 2024
1 parent a319493 commit d9e8d4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/node/json_rpc_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use witnet_data_structures::{
SupplyInfo, SyncStatus, ValueTransferOutput,
},
fee::Fee,
get_environment, get_protocol_version,
get_environment,
proto::{
versioning::{ProtocolInfo, ProtocolVersion},
ProtobufConvert,
Expand Down Expand Up @@ -1328,7 +1328,7 @@ pub fn data_request_report(
let response = send_request(&mut stream, &request)?;
let transaction: GetTransactionOutput = parse_response(&response)?;

let data_request_transaction_epoch = transaction.block_epoch.clone();
let data_request_transaction_epoch = transaction.block_epoch;
let data_request_transaction_block_hash = transaction.block_hash.clone();
let transaction_block_hash = if transaction.block_hash == "pending" {
None
Expand Down

0 comments on commit d9e8d4a

Please sign in to comment.