fixed path for testnet config (#1231)

This commit is contained in:
Nikolay Volf
2016-06-07 19:14:03 +04:00
committed by Gav Wood
parent ef39eed12f
commit e6d141e14f
2 changed files with 13 additions and 3 deletions

View File

@@ -53,4 +53,12 @@ pub mod ethereum {
pth.push(s);
pth
}
/// Get the specific folder inside default ethereum installation configured for testnet
pub fn with_testnet(s: &str) -> PathBuf {
let mut pth = default();
pth.push("testnet");
pth.push(s);
pth
}
}