This commit is contained in:
+1
-1
@@ -317,7 +317,7 @@ func (p *SyncedPool) RequestOwnership(id CartId) error {
|
|||||||
if ok == 0 && all > 0 {
|
if ok == 0 && all > 0 {
|
||||||
return fmt.Errorf("no remotes confirmed change")
|
return fmt.Errorf("no remotes confirmed change")
|
||||||
}
|
}
|
||||||
if ok < (all/2)+1 {
|
if ok < (all / 2) {
|
||||||
return fmt.Errorf("quorum not reached")
|
return fmt.Errorf("quorum not reached")
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user