From 6a0827a797ebb492bbcce148587d9c7526cb1a4d Mon Sep 17 00:00:00 2001 From: levonpetrosyan93 Date: Wed, 17 Jan 2024 06:05:48 +0400 Subject: [PATCH] One more bug fixed --- src/evo/providertx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evo/providertx.cpp b/src/evo/providertx.cpp index 30b9a07558..8100d1ca0a 100644 --- a/src/evo/providertx.cpp +++ b/src/evo/providertx.cpp @@ -23,7 +23,7 @@ static bool CheckService(const uint256& proTxHash, const ProTx& proTx, CValidati if (!proTx.addr.IsValid()) { return state.DoS(10, false, REJECT_INVALID, "bad-protx-addr"); } - if (Params().IsRegtest() && !proTx.addr.IsRoutable()) { + if (!Params().IsRegtest() && !proTx.addr.IsRoutable()) { return state.DoS(10, false, REJECT_INVALID, "bad-protx-addr"); }