mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 17:26:05 +01:00
fix: correct <
plugin dependency implementation (#6420)
was wrongly implemented using >=
This commit is contained in:
parent
843c813f86
commit
c6fc0302d2
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ namespace BTCPayServer.Plugins
|
|||
case { } xx when xx.StartsWith(">"):
|
||||
return installed[plugin] > parsedV;
|
||||
case { } xx when xx.StartsWith("<"):
|
||||
return installed[plugin] >= parsedV;
|
||||
return installed[plugin] < parsedV;
|
||||
case { } xx when xx.StartsWith("^"):
|
||||
return installed[plugin] >= parsedV && installed[plugin].Major == parsedV.Major;
|
||||
case { } xx when xx.StartsWith("~"):
|
||||
|
|
Loading…
Add table
Reference in a new issue