Skip to content

Commit 346bc93

Browse files
committed
fix: remove clone
1 parent 76552d4 commit 346bc93

File tree

1 file changed

+2
-2
lines changed
  • stackslib/src/chainstate/nakamoto

1 file changed

+2
-2
lines changed

stackslib/src/chainstate/nakamoto/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2093,7 +2093,7 @@ impl NakamotoChainState {
20932093
return Err(e);
20942094
};
20952095

2096-
let (receipt, clarity_commit, reward_set_data, phantom_unlock_events) =
2096+
let (mut receipt, clarity_commit, reward_set_data, phantom_unlock_events) =
20972097
ok_opt.expect("FATAL: unreachable");
20982098

20992099
assert_eq!(
@@ -2148,7 +2148,7 @@ impl NakamotoChainState {
21482148
&receipt.header.anchored_header.block_hash()
21492149
);
21502150

2151-
let mut tx_receipts = receipt.tx_receipts.clone();
2151+
let tx_receipts = &mut receipt.tx_receipts;
21522152
if let Some(unlock_receipt) =
21532153
// For the event dispatcher, attach any STXMintEvents that
21542154
// could not be included in the block (e.g. because the

0 commit comments

Comments
 (0)