Skip to content

Commit

Permalink
Merge pull request #54 from rustaceanrob/bump-09-24
Browse files Browse the repository at this point in the history
Bump 09 24
  • Loading branch information
rustaceanrob authored Sep 24, 2024
2 parents 448d3b8 + be328e7 commit e59abd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rust-version = "1.63.0"

[dependencies]
bdk_chain = { version = "0.19.0" }
kyoto-cbf = { git = "https://github.com/rustaceanrob/kyoto", rev = "408956cf5143b9b18fbcdbf3f35480540af73411" }
kyoto-cbf = { version = "0.2.0" }
tracing = { version = "0.1", optional = true }
tracing-subscriber = { version = "0.3", optional = true }

Expand Down
7 changes: 3 additions & 4 deletions examples/signet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async fn main() -> anyhow::Result<()> {

let builder = NodeBuilder::new(Network::Signet);
let (node, client) = builder
.add_peers(peers.into_iter().map(|ip| (ip, None).into()).collect())
.add_peers(peers.into_iter().map(|ip| ip.into()).collect())
.add_scripts(spks_to_watch)
.anchor_checkpoint(HeaderCheckpoint::new(
205_000,
Expand All @@ -62,9 +62,8 @@ async fn main() -> anyhow::Result<()> {
)?,
))
.num_required_peers(2)
.build_node()
.unwrap();
let mut client = Client::from_index(chain.tip(), &graph.index, client).unwrap();
.build_node()?;
let mut client = Client::from_index(chain.tip(), &graph.index, client)?;

// Run the node
if !node.is_running() {
Expand Down

0 comments on commit e59abd9

Please sign in to comment.