Skip to content

Commit eb933f6

Browse files
committed
Use node::channel_ws for protocol_html.
1 parent 81cb345 commit eb933f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/bitcoin/node/protocols/protocol_explore.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <atomic>
2323
#include <memory>
2424
#include <optional>
25+
#include <bitcoin/node/channels/channels.hpp>
2526
#include <bitcoin/node/define.hpp>
2627
#include <bitcoin/node/interfaces/interfaces.hpp>
2728
#include <bitcoin/node/protocols/protocol_html.hpp>

include/bitcoin/node/protocols/protocol_html.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ class BCN_API protocol_html
3737
protected network::tracker<protocol_html>
3838
{
3939
public:
40-
/// http channel, but html settings.
4140
using options_t = server::settings::html_server;
42-
using channel_t = node::channel_http;
41+
using channel_t = node::channel_ws;
4342

4443
protected:
4544
inline protocol_html(const auto& session,

0 commit comments

Comments
 (0)