[consensus] Refactory making receipients from representative
hihiboss opened this issue · 3 comments
hihiboss commented
Component
consensus - pbft
Assignee
.
Detail
In state_api.go,
receipients := make([]pbft.Representative, 0)
for _, rep := range state.Representatives {
if rep.ID != s.publisherID {
receipients = append(receipients, rep)
}
}
is duplicated. So, it will be good that you separate this to 'state' domain function.
state_api.go에서
receipients := make([]pbft.Representative, 0)
for _, rep := range state.Representatives {
if rep.ID != s.publisherID {
receipients = append(receipients, rep)
}
}
가 중복되고 있는데 이를 state 도메인 함수로 따로 빼면 좋을 것 같습니다!
Reference
.
xodhx4 commented
작업해보고 싶습니다! 어떤 분께 연락드려야 할까요?
xodhx4 commented
작업중입니다!