summaryrefslogtreecommitdiff
path: root/same/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'same/src/main')
-rw-r--r--same/src/main/java/com/orbekk/same/SameController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/same/src/main/java/com/orbekk/same/SameController.java b/same/src/main/java/com/orbekk/same/SameController.java
index 1cd16fc..2dc31ed 100644
--- a/same/src/main/java/com/orbekk/same/SameController.java
+++ b/same/src/main/java/com/orbekk/same/SameController.java
@@ -94,8 +94,8 @@ public class SameController {
master = Master.create(connections,
masterUrl, configuration.get("networkName"), myLocation,
masterRpcf);
- master.resumeFrom(lastKnownState, masterId);
pServer.registerService(master.getNewService());
+ master.resumeFrom(lastKnownState, masterId);
master.start();
registerNetwork(master);
}