check for secret in mint

This commit is contained in:
callebtc
2022-10-01 03:10:48 +02:00
parent b6c4d676f6
commit 50b47aa830
2 changed files with 12 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ async def run_test():
p.secret = ""
await assert_err(
wallet2.redeem(w1_snd_proofs_manipulated),
"Error: empty or duplicate proofs or promises.",
"Error: no secret in proof.",
)
# redeem with wrong secret