Bump Rust snippets SDK dependency to v0.2.9

This commit is contained in:
ok300
2023-11-13 14:43:42 +01:00
parent 75566ce35a
commit a80ef49d96
16 changed files with 106 additions and 154 deletions

View File

@@ -19,7 +19,7 @@ async fn getting_started() -> Result<Arc<BreezServices>> {
breez_sdk_core::NodeConfig::Greenlight {
config: GreenlightNodeConfig {
partner_credentials: None,
invite_code
invite_code,
},
},
);
@@ -28,12 +28,7 @@ async fn getting_started() -> Result<Arc<BreezServices>> {
config.working_dir = "path to an existing directory".into();
// Connect to the Breez SDK make it ready for use
let sdk = BreezServices::connect(
config,
seed.to_vec(),
Box::new(AppEventListener {}),
)
.await?;
let sdk = BreezServices::connect(config, seed.to_vec(), Box::new(AppEventListener {})).await?;
// ANCHOR_END: init-sdk
Ok(sdk)
@@ -47,4 +42,4 @@ async fn getting_started_node_info(sdk: Arc<BreezServices>) -> Result<()> {
// ANCHOR_END: fetch-balance
Ok(())
}
}