ENT-4973 Remove redundant 2PF warning message. (#7470)

* Remove redundant warning message.
Additional assertion to validate database records deleted.
This commit is contained in:
Jose Coll 2023-09-01 10:01:31 +01:00 committed by GitHub
parent 98be49c7de
commit b0ea7a6551
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,7 +246,6 @@ class FinalityFlow private constructor(val transaction: SignedTransaction,
return stxn
}
else {
logger.warnOnce("The current usage of FinalityFlow is not using Two Phase Finality. Please consider upgrading your CorDapp (refer to Corda 4.11 release notes).")
val stxn = if (requiresNotarisation) {
notarise().first
} else transaction