Skip to content

Commit 6f6a73e

Browse files
committed
fixup! Add VSS Blogpost.
1 parent 753bd8f commit 6f6a73e

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/_blog/announcing-vss.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,16 @@ use ldk_node::Builder;
8888
fn main() {
8989
let mut node_builder = Builder::new();
9090
...
91-
// Note: store_id can be freely set by the user and is useful for creating separate namespaces within storage. However, it must remain fixed for the entire life of the node as it is used for database storage.
92-
93-
let node = node_builder.build_with_vss_store_and_fixed_headers(vss_endpoint, store_id, HashMap::new()).unwrap();
94-
91+
// Note: store_id can be freely set by the user and is useful for creating separate namespaces within storage.
92+
// However, it must remain fixed for the entire life of the node as it is used for database storage.
93+
let node = node_builder
94+
.build_with_vss_store_and_fixed_headers(
95+
vss_endpoint,
96+
store_id,
97+
HashMap::new(),
98+
)
99+
.unwrap();
100+
95101
node.start().unwrap();
96102
...
97103
...

0 commit comments

Comments
 (0)