From e2d70e6721fbdbacda57399436a012484fbbde12 Mon Sep 17 00:00:00 2001 From: Igor Artamonov Date: Sun, 4 Oct 2020 15:34:19 -0400 Subject: [PATCH] problem: sendrawtransaction is not enabled --- .../emeraldpay/dshackle/upstream/calls/DefaultBitcoinMethods.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultBitcoinMethods.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultBitcoinMethods.kt index 7bd0998b..6b78d3f3 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultBitcoinMethods.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultBitcoinMethods.kt @@ -44,7 +44,7 @@ class DefaultBitcoinMethods() : CallMethods { "sendrawtransaction" ).sorted() - private val allowedMethods = (freshMethods + anyResponseMethods + hardcodedMethods + headVerifiedMethods).sorted() + private val allowedMethods = (freshMethods + anyResponseMethods + headVerifiedMethods + hardcodedMethods + broadcastMethods).sorted() override fun getQuorumFor(method: String): CallQuorum { return when {