lint: silence depreciation warnings

This commit is contained in:
Andras Banki-Horvath committed 2021-05-04 17:33:14 +02:00
1 parent 80bc46e614
commit dd14947154
7 files changed
+26 -26

No files matched your search

+1 -1
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")
}