()
| 525 | } |
| 526 | |
| 527 | func (d *DosNode) handleGroupDissolve() { |
| 528 | pendingGroupSize, err := d.chain.NumPendingGroups() |
| 529 | if err != nil { |
| 530 | d.logger.Error(err) |
| 531 | return |
| 532 | } |
| 533 | |
| 534 | if pendingGroupSize > 0 { |
| 535 | d.chain.SignalGroupDissolve() |
| 536 | } |
| 537 | } |
| 538 | |
| 539 | func (d *DosNode) isMember(groupID string) bool { |
| 540 | return d.dkg.GetShareSecurity(groupID) != nil |
no test coverage detected