We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6d2e820 + ca5947b commit 5c66b6fCopy full SHA for 5c66b6f
1 file changed
src/zmq/certificate.cpp
@@ -79,7 +79,7 @@ bool certificate::create(config::sodium& out_public,
79
{
80
// Loop until neither key's base85 encoding includes the # character.
81
// This ensures that the value can be used in libbitcoin settings files.
82
- for (uint8_t attempt = 0; attempt <= max_uint8; attempt++)
+ for (uint8_t attempt = 0; attempt < max_uint8; attempt++)
83
84
char public_key[zmq_encoded_key_size + 1] = { 0 };
85
char private_key[zmq_encoded_key_size + 1] = { 0 };
0 commit comments