Skip to content

Commit

Permalink
Add note about change addresses to 'show-addresses' (kaspanet#2170)
Browse files Browse the repository at this point in the history
* Add note about change addresses to 'show-addresses'

* Use stdout
  • Loading branch information
someone235 authored Nov 20, 2022
1 parent ec51c69 commit 09d698d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/kaspawallet/show_addresses.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@ func showAddresses(conf *showAddressesConfig) error {
for _, address := range response.Address {
fmt.Println(address)
}

fmt.Printf("\nNote: the above are only addresses that were manually created by the 'new-address' command. If you want to see a list of all addresses, including change addresses, " +
"that have a positive balance, use the command 'balance -v'\n")
return nil
}

0 comments on commit 09d698d

Please sign in to comment.