node: Add verification on fetch

This commit is contained in:
Alexis Sellier
2022-09-14 16:01:32 +02:00
parent 9cda5507a5
commit 38dc571f2e
9 changed files with 260 additions and 47 deletions
+1 -1
View File
@@ -386,7 +386,7 @@ fn test_push_and_pull() {
let tempdir = tempfile::tempdir().unwrap();
let storage_alice = Storage::open(tempdir.path().join("alice").join("storage")).unwrap();
let repo = fixtures::repository(tempdir.path().join("working"));
let (repo, _) = fixtures::repository(tempdir.path().join("working"));
let mut alice = Peer::new("alice", [7, 7, 7, 7], storage_alice);
let storage_bob = Storage::open(tempdir.path().join("bob").join("storage")).unwrap();