mirror of
https://github.com/jwinterm/grim.git
synced 2026-11-22 13:43:57 +01:00
node: refactor sync status and thread starting
This commit is contained in:
@@ -62,7 +62,7 @@ impl NetworkTab for NetworkNode {
|
||||
}
|
||||
|
||||
if ui.button("re-start").clicked() {
|
||||
node.restart(ChainTypes::Mainnet);
|
||||
node.restart();
|
||||
}
|
||||
|
||||
if ui.button("start").clicked() {
|
||||
@@ -70,7 +70,7 @@ impl NetworkTab for NetworkNode {
|
||||
}
|
||||
}
|
||||
|
||||
fn title(&self) -> &String {
|
||||
fn name(&self) -> &String {
|
||||
&self.title
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user