Skip to content

Commit 203f713

Browse files
committed
chore: clippy
1 parent 9a36086 commit 203f713

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

wallet/src/actors/worker/methods.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,15 +1067,11 @@ impl Worker {
10671067
(true, false)
10681068
} else if block_beacon.checkpoint == 3048961
10691069
&& block_beacon.hash_prev_block
1070-
== witnet_data_structures::chain::Hash::from(Vec::from(
1071-
hex::decode("f83b42c391bbc2084651c3258af6f6830574e405c146ebe0989990c1071acf54")
1072-
.unwrap(),
1073-
))
1070+
== witnet_data_structures::chain::Hash::from(hex::decode("f83b42c391bbc2084651c3258af6f6830574e405c146ebe0989990c1071acf54")
1071+
.unwrap())
10741072
&& last_sync.hash_prev_block
1075-
== witnet_data_structures::chain::Hash::from(Vec::from(
1076-
hex::decode("1a36ef15698405b5f9ea3b42efcf7469a4b4572a7826f7c9855835c0adf233cd")
1077-
.unwrap(),
1078-
))
1073+
== witnet_data_structures::chain::Hash::from(hex::decode("1a36ef15698405b5f9ea3b42efcf7469a4b4572a7826f7c9855835c0adf233cd")
1074+
.unwrap())
10791075
{
10801076
log::warn!("Dealing with special V1_7 → V1_8 synchronization case");
10811077

0 commit comments

Comments
 (0)