diff --git a/reporting/ReportingBackend.h b/reporting/ReportingBackend.h index f9bf0e4e..f32529a9 100644 --- a/reporting/ReportingBackend.h +++ b/reporting/ReportingBackend.h @@ -1729,9 +1729,9 @@ public: void storeAccountTx(AccountTransactionsData&& data) const { + numRequestsOutstanding_ += data.accounts.size(); WriteAccountTxCallbackData* cbData = new WriteAccountTxCallbackData(this, std::move(data)); - numRequestsOutstanding_ += data.accounts.size(); writeAccountTx(*cbData, false); }