output manifest to correct file

This commit is contained in:
Robert Habermeier 2016-06-11 13:08:22 +02:00
parent 3b1cca5622
commit 5c252f2a60

View File

@ -787,7 +787,9 @@ impl<V> BlockChainClient for Client<V> where V: Verifier {
state_root: state_root,
};
let mut manifest_file = File::create("MANIFEST").unwrap();
path.push("MANIFEST");
let mut manifest_file = File::create(&path).unwrap();
manifest_file.write_all(&manifest_data.to_rlp()).unwrap();
}
}