mirror of
https://github.com/corda/corda.git
synced 2025-01-24 05:18:24 +00:00
[CORDA-1681]: It is not possible to run stateMachinesSnapshot from the shell (fixed). (#3792)
This commit is contained in:
parent
9e9dda6693
commit
769586fdf5
@ -93,7 +93,8 @@ sealed class InvocationOrigin {
|
||||
/**
|
||||
* 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 }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user