Removing period send code
This commit is contained in:
@@ -64,24 +64,3 @@ fn stdin_input(stdin_input_sender: std::sync::mpsc::Sender<String>) {
|
||||
stdin_input_sender.send(line).unwrap();
|
||||
}
|
||||
}
|
||||
|
||||
// async fn maybe_autosend(
|
||||
// autosend: bool,
|
||||
// handle: ezsockets::Client<websocket::WebSocketClient>,
|
||||
// mut node: SideNode,
|
||||
// ) {
|
||||
// if autosend {
|
||||
// let forever = task::spawn(async {
|
||||
// let mut interval = time::interval(Duration::from_millis(10));
|
||||
|
||||
// loop {
|
||||
// interval.tick().await;
|
||||
// let fake = utils::fake_transaction("foo123".to_string());
|
||||
// let signed_op = node.add_transaction_local(fake);
|
||||
// let json = serde_json::to_string(&signed_op).unwrap();
|
||||
// handle.text(json).unwrap();
|
||||
// }
|
||||
// });
|
||||
// forever.await.unwrap();
|
||||
// }
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user