Skip to content

Commit 2af74f9

Browse files
committed
Delint.
1 parent 6af3b93 commit 2af74f9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/protocols/protocol_bitcoind_rest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ void protocol_bitcoind_rest::handle_receive_get(const code& ec,
9898
// Handlers.
9999
// ----------------------------------------------------------------------------
100100

101-
constexpr auto data = to_value(media_type::application_octet_stream);
102-
constexpr auto json = to_value(media_type::application_json);
103-
constexpr auto text = to_value(media_type::text_plain);
101+
////constexpr auto data = to_value(media_type::application_octet_stream);
102+
////constexpr auto json = to_value(media_type::application_json);
103+
////constexpr auto text = to_value(media_type::text_plain);
104104

105105
bool protocol_bitcoind_rest::handle_get_block(const code& ec,
106106
rest_interface::block, uint8_t , system::hash_cptr ) NOEXCEPT

src/protocols/protocol_explore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ bool protocol_explore::handle_get_inputs(const code& ec, interface::inputs,
714714

715715
// Wire serialization of input does not include witness.
716716
const auto size = std::accumulate(inputs->begin(), inputs->end(), zero,
717-
[&witness](size_t total, const auto& input) NOEXCEPT
717+
[&](size_t total, const auto& input) NOEXCEPT
718718
{ return total + input->serialized_size(false); });
719719

720720
switch (media)

0 commit comments

Comments
 (0)