Skip to content

Commit

Permalink
Merge branch 'develop' into output-claiming-small-amounts
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M authored Oct 9, 2023
2 parents 883e2ae + b3740c2 commit b08c5f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bindings-python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ async fn write_address_to_file(path: impl AsRef<std::path::Path>, address: &[Bec
println!("{json}");

file.write_all(json.as_bytes()).await.expect("failed to write to file");
file.flush().await.expect("failed to flush output stream");

Ok(())
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ async fn write_prepared_transaction_to_file(
println!("{json}");

file.write_all(json.as_bytes()).await.expect("failed to write file");
file.flush().await.expect("failed to flush output stream");

Ok(())
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ async fn write_signed_transaction_to_file(
let mut file = tokio::io::BufWriter::new(tokio::fs::File::create(path).await.expect("failed to create file"));
println!("{json}");
file.write_all(json.as_bytes()).await.expect("failed to write file");
file.flush().await.expect("failed to flush output stream");

Ok(())
}

0 comments on commit b08c5f2

Please sign in to comment.