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

This commit is contained in:
philsmd
2019-12-11 15:45:47 +01:00
committed by GitHub
parent d0a59db595
commit 415842524d

View File

@@ -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;
}