chore: use fmt to update examples

This commit is contained in:
rvcas
2023-07-11 19:52:19 -04:00
committed by Lucas
parent 1ab1ff9a1f
commit 0be09cd9e5
4 changed files with 7 additions and 7 deletions

View File

@@ -28,7 +28,7 @@ fn assert_purpose(purpose) {
ref.transaction_id == TransactionId(
#"0000000000000000000000000000000000000000000000000000000000000000",
) && ref.output_index == 0
_ -> error @"script purpose isn't 'Spend'"
_ -> fail @"script purpose isn't 'Spend'"
}
}
@@ -49,6 +49,6 @@ fn assert_outputs(transaction) {
output.reference_script == None,
]
|> list.and
_ -> error @"unexpected number of outputs"
_ -> fail @"unexpected number of outputs"
}
}