Skip to content

Commit

Permalink
Update to latest rev of substrate-stellar-sdk (#573)
Browse files Browse the repository at this point in the history
* Update to latest rev of substrate-stellar-sdk

* Remove obsolete variant
  • Loading branch information
ebma authored Dec 23, 2024
1 parent 7d5fc0c commit b02471b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions clients/stellar-relay-lib/examples/connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
StellarMessage::Hello(_) => {
tracing::info!("received Hello message");
},

StellarMessage::ScpMessage(msg) => {
let node_id = msg.statement.node_id.to_encoding();
let node_id = base64::encode(&node_id);
Expand All @@ -49,9 +48,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
slot
);
},
_ => {
let _ = overlay_connection.send_to_node(StellarMessage::GetPeers).await;
},
_ => {},
},
Ok(None) => {},
Err(Error::Timeout) => {
Expand Down

0 comments on commit b02471b

Please sign in to comment.