From a5ea5ba9c1186266eb38dd73b72f88e81bf557f3 Mon Sep 17 00:00:00 2001 From: Phi Date: Thu, 1 Sep 2022 17:01:03 +0200 Subject: [PATCH] Fix lint Fix lint --- cli/send.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/send.go b/cli/send.go index 9a8ebc25e..b5bfd3eb0 100644 --- a/cli/send.go +++ b/cli/send.go @@ -155,9 +155,8 @@ var sendCmd = &cli.Command{ if err != nil { if strings.Contains(err.Error(), "no current EF") { return xerrors.Errorf("transaction rejected on ledger: %w", err) - } else { - return err } + return err } fmt.Fprintf(cctx.App.Writer, "%s\n", sm.Cid())