Skip to content

Commit

Permalink
Changed output directory of output.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
slanesuke committed Mar 30, 2024
1 parent 1794a26 commit a0a57e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mine-your-first-block/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ fn append_to_file(filename: &str, contents: &str) -> io::Result<()> {

fn generate_output_file(block_header: &str, coinbase_tx:&str, txids_vec: &Vec<&str>)
-> io::Result<()> {
let file = "output.txt";
let file = "../output.txt";

std::fs::write(file, "")?;

Expand Down

0 comments on commit a0a57e8

Please sign in to comment.