Merge pull request #3900 from 0x588/base58

Update inc_hash_base58.cl
This commit is contained in:
Jens Steube 2023-11-11 17:33:14 +01:00 committed by GitHub
commit 46ce637d3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ DECLSPEC bool b58enc (PRIVATE_AS u8 *b58, PRIVATE_AS u32 *b58sz, PRIVATE_AS cons
j = 0;
for (; j < (size && !buf[j]); j++) {}
for (; j < size && !buf[j]; j++) {}
if (*b58sz <= zcount + size - j)
{