Skip to content

Commit

Permalink
Update getting_started.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
kingonly authored Nov 14, 2024
1 parent e3a6a7c commit 149b123
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions snippets/rust/src/getting_started.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ async fn getting_started() -> Result<Arc<LiquidSdk>> {

async fn getting_started_node_info(sdk: Arc<LiquidSdk>) -> Result<()> {
// ANCHOR: fetch-balance
let wallet_info = sdk.get_info().await?;
let balance_sat = wallet_info.balance_sat;
let pending_send_sat = wallet_info.pending_send_sat;
let pending_receive_sat = wallet_info.pending_receive_sat;
let info = sdk.get_info().await?;
let balance_sat = info.balance_sat;
let pending_send_sat = info.pending_send_sat;
let pending_receive_sat = info.pending_receive_sat;
// ANCHOR_END: fetch-balance

Ok(())
Expand Down

0 comments on commit 149b123

Please sign in to comment.