From 5a83b59453dc9976c88f343a1857773af70e0c08 Mon Sep 17 00:00:00 2001 From: levonpetrosyan93 Date: Thu, 17 Oct 2024 05:16:36 +0400 Subject: [PATCH] Added ISLocked info for mobile --- src/rpc/misc.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index 8f73698fa0..59705edb9f 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -24,7 +24,7 @@ #include "masternode-sync.h" #include "evo/deterministicmns.h" - +#include "llmq/quorums_instantsend.h" #include #include @@ -1583,6 +1583,9 @@ UniValue getmempoolsparktxs(const JSONRPCRequest& request) serialized_json.push_backV(serialized_coins); data.push_back(Pair("coins", serialized_json)); + bool fLLMQLocked = llmq::quorumInstantSendManager->IsLocked(txid); + data.push_back(Pair("isLocked", fLLMQLocked)); + result.push_back(Pair(EncodeBase64(txid.begin(), txid.size()), data)); }