Skip to content

Commit 38ccaec

Browse files
committed
Style.
1 parent 4a38f40 commit 38ccaec

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/protocols/protocol_bitcoind_rpc.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ void protocol_bitcoind_rpc::send_error(const code& ec, value_option&& error,
347347
size_t size_hint) NOEXCEPT
348348
{
349349
BC_ASSERT(stranded());
350-
send_rpc(response_t
350+
send_rpc(
351351
{
352352
.jsonrpc = version_,
353353
.id = id_,
@@ -370,7 +370,7 @@ void protocol_bitcoind_rpc::send_result(value_option&& result,
370370
size_t size_hint) NOEXCEPT
371371
{
372372
BC_ASSERT(stranded());
373-
send_rpc(response_t
373+
send_rpc(
374374
{
375375
.jsonrpc = version_,
376376
.id = id_,
@@ -391,8 +391,7 @@ void protocol_bitcoind_rpc::send_rpc(response_t&& model,
391391
response.set(field::content_type, json);
392392
response.body() = rpcout_value
393393
{
394-
network::json::json_value{ .size_hint = size_hint },
395-
std::move(model),
394+
{ .size_hint = size_hint }, std::move(model),
396395
};
397396
response.prepare_payload();
398397
SEND(std::move(response), handle_complete, _1, error::success);

0 commit comments

Comments
 (0)