2020#define LIBBITCOIN_SERVER_CHANNELS_CHANNEL_ELECTRUM_HPP
2121
2222#include < memory>
23+ #include < bitcoin/server/channels/channel.hpp>
2324#include < bitcoin/server/configuration.hpp>
2425#include < bitcoin/server/define.hpp>
2526#include < bitcoin/server/interfaces/interfaces.hpp>
@@ -31,7 +32,7 @@ namespace server {
3132// TODO: strip extraneous args before electrum version dispatch.
3233// / Channel for electrum channels (non-http json-rpc).
3334class BCS_API channel_electrum
34- : public node ::channel,
35+ : public server ::channel,
3536 public network::channel_rpc<interface::electrum>,
3637 protected network::tracker<channel_electrum>
3738{
@@ -43,7 +44,7 @@ class BCS_API channel_electrum
4344 inline channel_electrum (const network::logger& log,
4445 const network::socket::ptr& socket, uint64_t identifier,
4546 const node::configuration& config, const options_t & options) NOEXCEPT
46- : node ::channel(log, socket, identifier, config),
47+ : server ::channel(log, socket, identifier, config),
4748 network::channel_rpc<interface::electrum>(log, socket, identifier,
4849 config.network, options),
4950 network::tracker<channel_electrum>(log)
0 commit comments