Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeykoren committed Apr 4, 2024
1 parent 4ffcf59 commit 2e8d78e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions zcash_client_sqlite/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,7 @@ pub(crate) fn get_transaction<P: Parameters>(
tx_data.sprout_bundle().cloned(),
tx_data.sapling_bundle().cloned(),
tx_data.orchard_bundle().cloned(),
tx_data.issue_bundle().cloned(),
)
.freeze()
.map(|t| (expiry_height, t))
Expand Down
1 change: 1 addition & 0 deletions zcash_client_sqlite/src/wallet/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ mod tests {
None,
None,
None,
None,
)
.freeze()
.unwrap();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ mod tests {
None,
None,
None,
None,
)
.freeze()
.unwrap();
Expand Down
4 changes: 4 additions & 0 deletions zcash_extensions/src/transparent/demo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ mod tests {
NetworkUpgrade::Heartwood => Some(BlockHeight::from_u32(903_800)),
NetworkUpgrade::Canopy => Some(BlockHeight::from_u32(1_028_500)),
NetworkUpgrade::Nu5 => Some(BlockHeight::from_u32(1_200_000)),
NetworkUpgrade::V6 => Some(BlockHeight::from_u32(1_200_000)),
NetworkUpgrade::ZFuture => Some(BlockHeight::from_u32(1_400_000)),
}
}
Expand Down Expand Up @@ -693,6 +694,7 @@ mod tests {
None,
None,
None,
None,
Some(Bundle {
vin: vec![],
vout: vec![out_a],
Expand Down Expand Up @@ -724,6 +726,7 @@ mod tests {
None,
None,
None,
None,
Some(Bundle {
vin: vec![in_b],
vout: vec![out_b],
Expand Down Expand Up @@ -751,6 +754,7 @@ mod tests {
None,
None,
None,
None,
Some(Bundle {
vin: vec![in_c],
vout: vec![],
Expand Down

0 comments on commit 2e8d78e

Please sign in to comment.