diff --git a/server/src/rpc.rs b/server/src/rpc.rs index ee7c3798..2803109c 100644 --- a/server/src/rpc.rs +++ b/server/src/rpc.rs @@ -162,13 +162,3 @@ pub fn receive(data: Vec, db: &Db, _client: &mut MnmlWs, begin: Instant, acc }, } } - -// fn handle_mtx_apply(data: Vec, tx: &mut Transaction, account: &Account) -> Result { -// let msg = from_slice::(&data).or(Err(err_msg("invalid params")))?; -// match msg.params { -// MtxApplyParams::ConstructApply { construct_id, mtx } => -// _ => unimplemented!(), -// }; - -// Ok(RpcResult::AccountConstructs(account_constructs(tx, &account)?)) -// }