mirror of
https://github.com/corda/corda.git
synced 2025-04-07 19:34:41 +00:00
Merge pull request #168 from s-matthew-english/patch-2
unify references to notary in output
This commit is contained in:
commit
37379dd7fb
@ -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!!)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user