mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-26 15:35:55 +00:00
Use stdout
This commit is contained in:
parent
39a2c81933
commit
9e7bccc844
@ -5,7 +5,6 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"github.com/kaspanet/kaspad/cmd/kaspawallet/daemon/client"
|
"github.com/kaspanet/kaspad/cmd/kaspawallet/daemon/client"
|
||||||
"github.com/kaspanet/kaspad/cmd/kaspawallet/daemon/pb"
|
"github.com/kaspanet/kaspad/cmd/kaspawallet/daemon/pb"
|
||||||
"os"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func showAddresses(conf *showAddressesConfig) error {
|
func showAddresses(conf *showAddressesConfig) error {
|
||||||
@ -28,7 +27,7 @@ func showAddresses(conf *showAddressesConfig) error {
|
|||||||
fmt.Println(address)
|
fmt.Println(address)
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Fprintf(os.Stderr, "Note: 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, "+
|
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'")
|
"that have a positive balance, use the command 'balance -v'\n")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user