use all allowed methods including groups instead of just enabled methods

This commit is contained in:
a10zn8
2023-06-28 22:42:12 +04:00
parent 3e2cae4793
commit 9c653c1b66

View File

@@ -82,7 +82,7 @@ class ManagedCallMethods(
override fun createQuorumFor(method: String): CallQuorum {
return when {
isDelegated(method) && !isRedefined(method) -> delegate.createQuorumFor(method)
enabled.contains(method) -> quorum[method]?.create() ?: defaultQuorum.create()
allAllowed.contains(method) -> quorum[method]?.create() ?: defaultQuorum.create()
else -> {
log.warn("Getting quorum for unknown method - $method")
defaultQuorum.create()