Merge pull request #168 from s-matthew-english/patch-2

unify references to notary in output
This commit is contained in:
Mike Hearn 2017-01-23 10:26:25 +01:00 committed by GitHub
commit 37379dd7fb

View File

@ -164,7 +164,7 @@ open class TransactionBuilder(
/** A default notary must be specified during builder construction to use this method */
fun addOutputState(state: ContractState): Int {
checkNotNull(notary) { "Need to specify a Notary for the state, or set a default one on TransactionBuilder initialisation" }
checkNotNull(notary) { "Need to specify a notary for the state, or set a default one on TransactionBuilder initialisation" }
return addOutputState(state, notary!!)
}