commit c539e6187bbd1ab0079b3e5a74ead4143a54ebe1
parent dc0d51fa2a751bc71bc43433c7421cbae9af58fd
Author: Jared Tobin <jared@jtobin.io>
Date: Mon, 14 Oct 2024 21:29:56 +0400
test: bip0340 vectors (two failing)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/BIP340.hs b/test/BIP340.hs
@@ -40,7 +40,7 @@ data Case = Case {
execute :: Case -> TestTree
execute Case {..} = testCase ("bip0340 " <> show c_index) $
case parse_point c_pk of
- Nothing -> assertFailure "no parse"
+ Nothing -> assertBool mempty (not c_res)
Just (affine -> pk) -> do
if c_sk == mempty
then do -- no signature; test verification