Skip to content

Commit

Permalink
Remove unnecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
james-chf committed Oct 20, 2022
1 parent 333236d commit bd4098b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/src/lib/node/ledger/shell/finalize_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ where
.begin_block(hash, height)
.expect("Beginning a block shouldn't fail");

let header_time = header.time.clone();
let header_time = header.time;
self.storage
.set_header(header)
.expect("Setting a header shouldn't fail");
Expand Down

0 comments on commit bd4098b

Please sign in to comment.