Skip to content

Commit

Permalink
Update getting_started.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kingonly authored Nov 14, 2024
1 parent b1f534a commit 83e7999
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions snippets/python/src/getting_started.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ def start():
def fetch_balance(sdk: BindingLiquidSdk):
# ANCHOR: fetch-balance
try:
wallet_info = sdk.get_info()
balance_sat = wallet_info.balance_sat
pending_send_sat = wallet_info.pending_send_sat
pending_receive_sat = wallet_info.pending_receive_sat
info = sdk.get_info()
balance_sat = info.balance_sat
pending_send_sat = info.pending_send_sat
pending_receive_sat = info.pending_receive_sat
except Exception as error:
logging.error(error)
raise
Expand Down

0 comments on commit 83e7999

Please sign in to comment.