Skip to content

Commit

Permalink
Added ISLocked info for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
levonpetrosyan93 committed Oct 17, 2024
1 parent 9fecae3 commit 5a83b59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/rpc/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include "masternode-sync.h"
#include "evo/deterministicmns.h"

#include "llmq/quorums_instantsend.h"
#include <stdint.h>

#include <boost/assign/list_of.hpp>
Expand Down Expand Up @@ -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));
}

Expand Down

0 comments on commit 5a83b59

Please sign in to comment.