mirror of
https://github.com/fiatjaf/nak.git
synced 2025-08-24 11:20:47 -04:00
wallet: fix nutzap error message.
This commit is contained in:
@@ -316,8 +316,8 @@ var wallet = &cli.Command{
|
||||
},
|
||||
Action: func(ctx context.Context, c *cli.Command) error {
|
||||
args := c.Args().Slice()
|
||||
if len(args) >= 2 {
|
||||
return fmt.Errorf("must be called as `nak wallet send <amount> <target>...")
|
||||
if len(args) < 2 {
|
||||
return fmt.Errorf("must be called as `nak wallet nutzap <amount> <target>...")
|
||||
}
|
||||
|
||||
w, closew, err := prepareWallet(ctx, c)
|
||||
|
Reference in New Issue
Block a user