Merge "Apply the transaction to the leash before it is sent to the client" into rvc-dev