Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

expect 0 outputs when ProposalState is consumed #27

Open
shun-tak opened this issue Apr 25, 2020 · 0 comments
Open

expect 0 outputs when ProposalState is consumed #27

shun-tak opened this issue Apr 25, 2020 · 0 comments

Comments

@shun-tak
Copy link
Member

shun-tak commented Apr 25, 2020

currently, it outputs 1 ProposalState when consuming but it is useless after consumed.

why don't we change it not to produce the output state?

"An Proposal Consume transaction should create only one output proposal state." using (tx.outputsOfType<ProposalState>().size == 1)

This improvement affects CustomValidatingNotaryFlow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant