diff --git a/accounts-db/src/append_vec.rs b/accounts-db/src/append_vec.rs index ec584fa511e9bb..d19b039aef5d05 100644 --- a/accounts-db/src/append_vec.rs +++ b/accounts-db/src/append_vec.rs @@ -1929,7 +1929,6 @@ pub mod tests { .append(true) .open(&temp_file.path) .unwrap(); - f.seek(SeekFrom::End(0)).unwrap(); f.write_all(&[0xFF]).unwrap(); } assert_scan(total_stored_size + 1); @@ -1942,7 +1941,6 @@ pub mod tests { .append(true) .open(&temp_file.path) .unwrap(); - f.seek(SeekFrom::End(0)).unwrap(); f.write_all(&[0xFF; SIZE]).unwrap(); } assert_scan(total_stored_size + SIZE + 1); @@ -2007,7 +2005,6 @@ pub mod tests { .append(true) .open(&temp_file.path) .unwrap(); - f.seek(SeekFrom::End(0)).unwrap(); f.write_all(&[0xFF]).unwrap(); } assert_scan(total_stored_size + 1); @@ -2020,7 +2017,6 @@ pub mod tests { .append(true) .open(&temp_file.path) .unwrap(); - f.seek(SeekFrom::End(0)).unwrap(); f.write_all(&[0xFF; SIZE]).unwrap(); } assert_scan(total_stored_size + SIZE + 1);