tests: allow tests with 05 AND 04 in zlib header for electrum 5

pull/2246/head
philsmd 4 years ago committed by GitHub
parent d0a59db595
commit 415842524d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -168,7 +168,7 @@ sub module_generate_hash
my $zlib_rate = ord (substr ($compressed_data, 2, 1)) & 0x07;
if ($zlib_rate != 0x05)
if (($zlib_rate != 0x04) && ($zlib_rate != 0x05))
{
next;
}

Loading…
Cancel
Save