Browse Source

Merge pull request #5537 from ErikEk/invoice-unused-error-check

invoice: unused error check
master
Oliver Gugger 3 years ago committed by GitHub
parent
commit
306da010d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      cmd/lncli/invoicesrpc_active.go
  2. 7
      docs/release-notes/release-notes-0.14.0.md

4
cmd/lncli/invoicesrpc_active.go

@ -227,10 +227,6 @@ func addHoldInvoice(ctx *cli.Context) error {
}
}
if err != nil {
return fmt.Errorf("unable to parse preimage: %v", err)
}
descHash, err = hex.DecodeString(ctx.String("description_hash"))
if err != nil {
return fmt.Errorf("unable to parse description_hash: %v", err)

7
docs/release-notes/release-notes-0.14.0.md

@ -7,4 +7,11 @@ added](https://github.com/lightningnetwork/lnd/pull/5520) to ensure that all
PRs add an entry in the release notes folder that at leasts links to PR being
added.
# Code Health
## Code cleanup, refactor, typo fixes
* [Unused error check
removed](https://github.com/lightningnetwork/lnd/pull/5537).
# Contributors (Alphabetical Order)
ErikEk
Loading…
Cancel
Save