lint: silence depreciation warnings

This commit is contained in:
Andras Banki-Horvath
2021-04-30 12:35:53 +02:00
parent 80bc46e614
commit dd14947154
7 changed files with 26 additions and 26 deletions

View File

@ -744,7 +744,7 @@ func checkPsbtFlags(req *lnrpc.OpenChannelRequest) error {
return fmt.Errorf("specifying minimum confirmations for PSBT " +
"funding is not supported")
}
if req.TargetConf != 0 || req.SatPerByte != 0 || req.SatPerVbyte != 0 {
if req.TargetConf != 0 || req.SatPerByte != 0 || req.SatPerVbyte != 0 { // nolint:staticcheck
return fmt.Errorf("setting fee estimation parameters not " +
"supported for PSBT funding")
}