fun commit(tx: WireTransaction, callerIdentity: Party): Unit
Commits all input states of the given transaction