Address review comments

This commit is contained in:
Mike Hearn 2016-09-07 12:33:57 +02:00
parent 49a0fd8fdd
commit a030a45019
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,8 @@ class FinalityProtocol(val transaction: SignedTransaction,
@Suspendable
override fun call() {
// TODO: Resolve the tx here: it's probably already been done, but re-resolution is a no-op and it'll make the API more forgiving.
progressTracker.currentStep = NOTARISING
// Notarise the transaction if needed
val notarisedTransaction = if (needsNotarySignature(transaction)) {

View File

@ -85,7 +85,6 @@ object NotaryChangeProtocol: AbstractStateReplacementProtocol<Party>() {
val blacklist = listOf("Evil Notary")
require(!blacklist.contains(newNotary.name)) { "The proposed new notary $newNotary is not trusted by the party" }
proposal
}
}