diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-06-17 17:03:03 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-06-17 17:03:03 +0200 |
commit | 9550dffa0c61df6d1591c62d09629b4c5731e1b7 (patch) | |
tree | 3eaf700ba257d3aa02590159a75c558268c07620 /src/test/fuzz/deserialize.cpp | |
parent | 922abe8ca3825a73fd2054d6bc8f557acefb5bab (diff) | |
download | bitcoin-9550dffa0c61df6d1591c62d09629b4c5731e1b7.tar.xz |
fuzz: Assert roundtrip equality for `CPubKey`
Diffstat (limited to 'src/test/fuzz/deserialize.cpp')
-rw-r--r-- | src/test/fuzz/deserialize.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/fuzz/deserialize.cpp b/src/test/fuzz/deserialize.cpp index 1290c78712..e7cb92c0cd 100644 --- a/src/test/fuzz/deserialize.cpp +++ b/src/test/fuzz/deserialize.cpp @@ -136,8 +136,7 @@ FUZZ_TARGET_DESERIALIZE(partial_merkle_tree_deserialize, { FUZZ_TARGET_DESERIALIZE(pub_key_deserialize, { CPubKey pub_key; DeserializeFromFuzzingInput(buffer, pub_key); - // TODO: The following equivalence should hold for CPubKey? Fix. - // AssertEqualAfterSerializeDeserialize(pub_key); + AssertEqualAfterSerializeDeserialize(pub_key); }) FUZZ_TARGET_DESERIALIZE(script_deserialize, { CScript script; |