Skip to content

Commit cc064a5

Browse files
committed
removed useless .clone()
1 parent d778b2f commit cc064a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackslib/src/net/api/getblockbyheight.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ impl RPCRequestHandler for RPCNakamotoBlockByHeightRequestHandler {
161161
else {
162162
return Err(ChainError::NoSuchBlockError);
163163
};
164-
NakamotoBlockStream::new(chainstate, block_id.clone(), tenure_id, parent_block_id)
164+
NakamotoBlockStream::new(chainstate, block_id, tenure_id, parent_block_id)
165165
});
166166

167167
// start loading up the block

0 commit comments

Comments
 (0)