Fix lint
This commit is contained in:
Phi 2022-09-01 17:01:03 +02:00
parent 405bfeddac
commit a5ea5ba9c1

View File

@ -155,9 +155,8 @@ var sendCmd = &cli.Command{
if err != nil { if err != nil {
if strings.Contains(err.Error(), "no current EF") { if strings.Contains(err.Error(), "no current EF") {
return xerrors.Errorf("transaction rejected on ledger: %w", err) return xerrors.Errorf("transaction rejected on ledger: %w", err)
} else {
return err
} }
return err
} }
fmt.Fprintf(cctx.App.Writer, "%s\n", sm.Cid()) fmt.Fprintf(cctx.App.Writer, "%s\n", sm.Cid())