just pong account instances for anons cause lazy

This commit is contained in:
ntr 2019-12-29 21:43:59 +10:00
parent 012b4d0713
commit 5820b41434

View File

@ -75,6 +75,7 @@ impl User for Anonymous {
RpcRequest::Ping {} => return Ok(RpcMessage::Pong(())),
RpcRequest::ItemInfo {} => return Ok(RpcMessage::ItemInfo(item_info())),
RpcRequest::AccountInstances {} => return Ok(RpcMessage::Pong(())),
RpcRequest::InstancePractice {} =>
Ok(RpcMessage::InstanceState(pg::instance_demo(&self.account)?)),