Skip to content

Commit 8229ae8

Browse files
committed
In electrum block_headers return count of headers returned.
1 parent 938ed96 commit 8229ae8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/protocols/protocol_electrum.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ void protocol_electrum::blockchain_block_headers(size_t starting,
228228
if (multiplicity)
229229
{
230230
result["headers"] = std::move(headers);
231-
result["count"] = uint64_t{ quantity };
231+
result["count"] = headers.size();
232232
result["max"] = maximum;
233233
}
234234
else

0 commit comments

Comments
 (0)