From 9d6ad89b4a2a141ca2614380a9979884a8beca16 Mon Sep 17 00:00:00 2001 From: levonpetrosyan93 <45027856+levonpetrosyan93@users.noreply.github.com> Date: Thu, 21 Nov 2024 11:51:11 +0400 Subject: [PATCH] Added ISLocked info for mobile (#1488) --- 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)); }