corda / net.corda.flows / ContractUpgradeFlow / Acceptor / verifyProposal

# verifyProposal

`@Suspendable protected fun verifyProposal(proposal: Proposal<Class<out UpgradedContract<ContractState, *>>>): Unit`

Check the state change proposal to confirm that it's acceptable to this node. Rules for verification depend on the change proposed, and may further depend on the node itself (for example configuration). The proposal is returned if acceptable, otherwise a StateReplacementException is thrown.