Skip to content

Commit 1a9847d

Browse files
authored
Merge pull request #980 from evoskuil/master
Fix protocol_block_out (sends only first of request).
2 parents 9b91a5b + e22eb07 commit 1a9847d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/protocols/protocol_block_out_106.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ void protocol_block_out_106::send_block(const code& ec, size_t index,
200200
}
201201

202202
span<milliseconds>(events::block_msecs, start);
203-
SEND(block{ ptr }, send_block, _1, sub1(index), message);
203+
SEND(block{ ptr }, send_block, _1, add1(index), message);
204204
}
205205

206206
// utilities

0 commit comments

Comments
 (0)