mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 21:52:53 +02:00
http: switch servers from libevent to bitcoin
This commit is contained in:
@@ -26,8 +26,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
using http_libevent::EventBase;
|
||||
using http_libevent::HTTPRequest;
|
||||
using http_bitcoin::HTTPRequest;
|
||||
using util::SplitString;
|
||||
using util::TrimStringView;
|
||||
|
||||
@@ -349,8 +348,6 @@ bool StartHTTPRPC(const std::any& context)
|
||||
if (g_wallet_init_interface.HasWalletSupport()) {
|
||||
RegisterHTTPHandler("/wallet/", false, handle_rpc);
|
||||
}
|
||||
struct event_base* eventBase = EventBase();
|
||||
assert(eventBase);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user