diff --git a/bee-ledger/src/workers/pruning/batch.rs b/bee-ledger/src/workers/pruning/batch.rs index e44928081e..8e1923211e 100644 --- a/bee-ledger/src/workers/pruning/batch.rs +++ b/bee-ledger/src/workers/pruning/batch.rs @@ -333,7 +333,7 @@ fn prune_message_and_metadata( .unwrap(); byte_length += msg.packed_len(); - let md = Fetch::::fetch(storage, &message_id) + let md = Fetch::::fetch(storage, message_id) .map_err(|e| PruningError::Storage(Box::new(e)))? .unwrap(); byte_length += md.packed_len();