Skip to content

Commit

Permalink
Adding some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mjovanc committed May 20, 2023
1 parent 70125db commit 19a0432
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ fn rocket() -> _ {
syncers::hugin::hugin_syncer().await;
});

// launch the rocket server
rocket::build()
.mount(
"/api",
Expand Down
2 changes: 2 additions & 0 deletions src/syncers/hugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ pub async fn hugin_syncer() {
known_txs_ids: &known,
};

// run the hugin syncer loop
loop {
info!("Hugin syncer loop...");

// convert the PoolChangesLiteRequest struct to a json string
let json_body = serde_json::to_string(&pool_changes_lite_req);

println!("json_body: {:?}", json_body);
Expand Down

0 comments on commit 19a0432

Please sign in to comment.