From 2e30dfe2eb2474145a3920c233642a1a8a2a21ba Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 12 Feb 2025 15:51:00 -0300 Subject: [PATCH] wallet: fix nutzap error message. --- wallet.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wallet.go b/wallet.go index 4baf86e..87e5822 100644 --- a/wallet.go +++ b/wallet.go @@ -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 ...") + if len(args) < 2 { + return fmt.Errorf("must be called as `nak wallet nutzap ...") } w, closew, err := prepareWallet(ctx, c)