diff --git a/src/rpc/mempool.cpp b/src/rpc/mempool.cpp index 6d47ee4b75..43190dd8c6 100644 --- a/src/rpc/mempool.cpp +++ b/src/rpc/mempool.cpp @@ -85,6 +85,7 @@ static RPCHelpMan sendrawtransaction() DEFAULT_MAX_RAW_TX_FEE_RATE : CFeeRate(AmountFromValue(request.params[1])); + std::string err_string; AssertLockNotHeld(cs_main); NodeContext& node = EnsureAnyNodeContext(request.context); diff --git a/src/txmempool.h b/src/txmempool.h index d545c71393..fdf25250d2 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -594,7 +594,6 @@ public: * @param[in] package Transaction package being evaluated for acceptance * to mempool. The transactions need not be direct * ancestors/descendants of each other. - * @param[in] total_vsize Sum of virtual sizes for all transactions in package. * @param[in] limits Maximum number and size of ancestors and descendants * @param[out] errString Populated with error reason if a limit is hit. */