Add note about change addresses to 'show-addresses' (#2170)

* Add note about change addresses to 'show-addresses'

* Use stdout
This commit is contained in:
Ori Newman 2022-11-20 12:12:09 +02:00 committed by GitHub
parent ec51c6926a
commit 09d698dd0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}