Skip to content

Compiler improvements: labels with unused arguments #276

Closed Answered by rvcas
matiwinnetou asked this question in Q&A
Discussion options

You must be logged in to vote

you can accomplish that by defining your function like this:

fn close_action_success(
  datum _datum: Datum,
  validity_range _validity_range: ValidityRange,
  outputs _outputs: List<Output>,
) -> Bool {
  False
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rvcas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #273 on January 16, 2023 19:22.