Skip to content

Commit 821b06a

Browse files
authored
Merge pull request #115 from tnull/2023-05-swap-out-builder
Move `Builder` to own module, allow for shared runtime reference.
2 parents 5dd2f6e + a25632c commit 821b06a

File tree

4 files changed

+705
-551
lines changed

4 files changed

+705
-551
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use ldk_node::bitcoin::Network;
1818
use std::str::FromStr;
1919

2020
fn main() {
21-
let builder = Builder::new();
21+
let mut builder = Builder::new();
2222
builder.set_network(Network::Testnet);
2323
builder.set_esplora_server("https://blockstream.info/testnet/api".to_string());
2424
builder.set_gossip_source_rgs("https://rapidsync.lightningdevkit.org/testnet/snapshot".to_string());

0 commit comments

Comments
 (0)