mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-12 14:12:27 +02:00
lint: silence depreciation warnings
This commit is contained in:
@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user