提交 56cbfe7a 编写于 作者: J Joao Sousa

Undone modification done in commit 2079febd...

Undone modification done in commit 2079febd (it would make the protocol incorrect)
上级 b4b36b90
无法预览此类型文件
......@@ -304,8 +304,8 @@ public class ServerViewController extends ViewController {
}
}
this.quorumBFT = (int) Math.ceil((this.currentView.getN() + this.currentView.getF()) / 2f);
this.quorumCFT = (int) Math.ceil(this.currentView.getN() / 2f);
this.quorumBFT = (int) Math.ceil((this.currentView.getN() + this.currentView.getF()) / 2);
this.quorumCFT = (int) Math.ceil(this.currentView.getN() / 2);
} else if (this.currentView != null && this.currentView.isMember(getStaticConf().getProcessId())) {
//TODO: Left the system in newView -> LEAVE
//CODE for LEAVE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册