From 9c653c1b665b6e57ec061ec09b0401dec68f930b Mon Sep 17 00:00:00 2001 From: a10zn8 Date: Wed, 28 Jun 2023 22:42:12 +0400 Subject: [PATCH] use all allowed methods including groups instead of just enabled methods --- .../io/emeraldpay/dshackle/upstream/calls/ManagedCallMethods.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/ManagedCallMethods.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/ManagedCallMethods.kt index b17aee02..b1299420 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/ManagedCallMethods.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/ManagedCallMethods.kt @@ -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()