wallet_rpc_server: add missing background check

Reported by ro1m
This commit is contained in:
selsta
2026-05-20 19:10:36 +02:00
parent 19a537b050
commit f1ae8ca4ee
+1
View File
@@ -2786,6 +2786,7 @@ namespace tools
bool wallet_rpc_server::on_get_spend_proof(const wallet_rpc::COMMAND_RPC_GET_SPEND_PROOF::request& req, wallet_rpc::COMMAND_RPC_GET_SPEND_PROOF::response& res, epee::json_rpc::error& er, const connection_context *ctx)
{
if (!m_wallet) return not_open(er);
CHECK_IF_BACKGROUND_SYNCING();
crypto::hash txid;
if (!epee::string_tools::hex_to_pod(req.txid, txid))