mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
fuzz: add missing overrides to signature_checker
and also - add missing parentheses in fuzz/scriptnum_ops.cpp - remove useless unsigned int conditional in fuzz/script.cpp These changes fix 5 compile warnings in gcc 10.
This commit is contained in:
parent
090d877160
commit
c0f09c2c9d
3 changed files with 5 additions and 5 deletions
|
|
@ -48,7 +48,7 @@ void test_one_input(const std::vector<uint8_t>& buffer)
|
|||
if (CompressScript(script, compressed)) {
|
||||
const unsigned int size = compressed[0];
|
||||
compressed.erase(compressed.begin());
|
||||
assert(size >= 0 && size <= 5);
|
||||
assert(size <= 5);
|
||||
CScript decompressed_script;
|
||||
const bool ok = DecompressScript(decompressed_script, size, compressed);
|
||||
assert(ok);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue