mirror of
https://github.com/corda/corda.git
synced 2025-01-31 00:24:59 +00:00
[CORDA-1681]: It is not possible to run stateMachinesSnapshot from the shell (fixed). (#3791)
This commit is contained in:
parent
2b69789a30
commit
e5e4596461
@ -103,7 +103,8 @@ sealed class InvocationOrigin {
|
|||||||
/**
|
/**
|
||||||
* Origin was an RPC call.
|
* Origin was an RPC call.
|
||||||
*/
|
*/
|
||||||
data class RPC(private val actor: Actor) : InvocationOrigin() {
|
// Field `actor` needs to stay public for AMQP / JSON serialization to work.
|
||||||
|
data class RPC(val actor: Actor) : InvocationOrigin() {
|
||||||
override fun principal() = Principal { actor.id.value }
|
override fun principal() = Principal { actor.id.value }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user