From 012156e072ef117ae3d07f8618ccee935c6275b8 Mon Sep 17 00:00:00 2001 From: Sercan Tekin <73108963+sercanCyberVision@users.noreply.github.com> Date: Thu, 22 Feb 2024 01:08:09 -0500 Subject: [PATCH] Print unconfirmed amount as well with balance flag (#62) --- DOCKER-README.md | 2 +- node/main.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DOCKER-README.md b/DOCKER-README.md index 608e937..f2f64dc 100644 --- a/DOCKER-README.md +++ b/DOCKER-README.md @@ -42,7 +42,7 @@ docker compose up -d ``` A `.config/` subfolder will be created under the current folder, this is mapped inside the container. -Make sure you backup `config.ym` and `keys.yml`. +Make sure you backup `config.yml` and `keys.yml`. ## Intereact with a running cotainer diff --git a/node/main.go b/node/main.go index ed53e86..b86dedd 100644 --- a/node/main.go +++ b/node/main.go @@ -101,7 +101,8 @@ func main() { panic(err) } - fmt.Println("Confirmed balance:", balance.Owned, "QUIL") + fmt.Println("Owned balance:", balance.Owned, "QUIL") + fmt.Println("Unconfirmed balance:", balance.UnconfirmedOwned, "QUIL") return }