Fix error

This commit is contained in:
patrini32 2024-06-28 17:03:07 +00:00 committed by GitHub
parent 7f80851c4c
commit eb7b16a307
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,7 +89,7 @@ async fn alice_manually_punishes_after_bob_dead_and_bob_cancels() {
.await
.unwrap_err();
assert_eq!(
&error,
error.to_string(),
"Cannot refund swap because we have already been punished"
);
Ok(())