clear last connection

This commit is contained in:
John Smith
2022-08-06 10:23:26 -04:00
parent 0e047a0120
commit e7ae6b04bd
2 changed files with 10 additions and 0 deletions

View File

@@ -263,6 +263,10 @@ impl NodeRef {
Some(last_connection)
}
pub fn clear_last_connection(&self) {
self.operate_mut(|e| e.clear_last_connection())
}
pub fn has_any_dial_info(&self) -> bool {
self.operate(|e| {
e.node_info()