Skip to content

Commit

Permalink
removed useless .clone()
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeioris committed Nov 14, 2024
1 parent b931bbb commit eea078b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stackslib/src/net/api/getblockbyheight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl RPCRequestHandler for RPCNakamotoBlockByHeightRequestHandler {
else {
return Err(ChainError::NoSuchBlockError);
};
NakamotoBlockStream::new(chainstate, block_id.clone(), tenure_id, parent_block_id)
NakamotoBlockStream::new(chainstate, block_id, tenure_id, parent_block_id)
});

// start loading up the block
Expand Down

0 comments on commit eea078b

Please sign in to comment.