Type grooming

This commit is contained in:
Michael Vines
2020-01-23 10:20:34 -07:00
parent 1269a79a4d
commit 6f5e0cd161
4 changed files with 26 additions and 22 deletions

View File

@ -22,8 +22,7 @@ mod tests {
hash::hashv,
pubkey::Pubkey,
signature::{Keypair, KeypairUtil},
system_transaction,
transaction::Result as TransactionResult,
system_transaction, transaction,
};
use std::{fs, path::PathBuf, sync::atomic::AtomicBool, sync::mpsc::channel, sync::Arc};
use tempfile::TempDir;
@ -310,7 +309,7 @@ mod tests {
// before we compare, stick an empty status_cache in this dir so that the package comparision works
// This is needed since the status_cache is added by the packager and is not collected from
// the source dir for snapshots
let dummy_slot_deltas: Vec<SlotDelta<TransactionResult<()>>> = vec![];
let dummy_slot_deltas: Vec<SlotDelta<transaction::Result<()>>> = vec![];
snapshot_utils::serialize_snapshot_data_file(
&saved_snapshots_dir
.path()