From 5c252f2a60035babd44bbd7f62b5d4620b716248 Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Sat, 11 Jun 2016 13:08:22 +0200 Subject: [PATCH] output manifest to correct file --- ethcore/src/client/client.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ethcore/src/client/client.rs b/ethcore/src/client/client.rs index 8522ebd40..78f7a35df 100644 --- a/ethcore/src/client/client.rs +++ b/ethcore/src/client/client.rs @@ -787,7 +787,9 @@ impl BlockChainClient for Client 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(); } }