mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-11-02 20:37:03 +00:00
write for entry
This commit is contained in:
@@ -206,7 +206,7 @@ fn main() {
|
||||
let mut buf = Vec::new();
|
||||
if let Some(out_file_path) = ::std::env::args().nth(1) {
|
||||
for node in initial_tree_vec.into_iter() {
|
||||
node.write(&mut buf);
|
||||
node.write(&mut buf).expect("Failed to write data");
|
||||
}
|
||||
|
||||
let mut file = std::fs::File::create(&out_file_path)
|
||||
|
||||
Reference in New Issue
Block a user