Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Nov 19, 2024
1 parent 9a38bbb commit 1d63b0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ pub async fn test_responses<State, ReadState>(
extra_coinbase_data: None,
debug_like_zcashd: true,
// TODO: Use default field values when optional features are enabled in tests #8183
..Default::default()
#[cfg(feature = "internal-miner")]
internal_miner: true,
};

// nu5 block height
Expand Down
6 changes: 4 additions & 2 deletions zebra-rpc/src/methods/tests/vectors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,8 @@ async fn rpc_getblocktemplate_mining_address(use_p2pkh: bool) {
extra_coinbase_data: None,
debug_like_zcashd: true,
// TODO: Use default field values when optional features are enabled in tests #8183
..Default::default()
#[cfg(feature = "internal-miner")]
internal_miner: true,
};

// nu5 block height
Expand Down Expand Up @@ -1860,7 +1861,8 @@ async fn rpc_getdifficulty() {
extra_coinbase_data: None,
debug_like_zcashd: true,
// TODO: Use default field values when optional features are enabled in tests #8183
..Default::default()
#[cfg(feature = "internal-miner")]
internal_miner: true,
};

// nu5 block height
Expand Down

0 comments on commit 1d63b0e

Please sign in to comment.