mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-18 06:14:21 +01:00
Bump Rust snippets SDK dependency to v0.2.9
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user