You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also believe that the code on line 53 in certstore.go should be changed to pull.ResponseMsgType. This is because in pullstore.go (see lines 179-209), the []*protoext.SignedGossipMessage array is only populated when pullMsg equals ResponseMsgType. This ensures that the array is not empty, allowing the function registered via RegisterMsgHook in certstore.go to iterate over the msgs []*protoext.SignedGossipMessage parameter and execute.
Description
第53行代码处,不应该是pull.RequestMsgType,而应该是pull.ResponseMsgType吧。
Steps to reproduce
line 53 puller.RegisterMsgHook(pull.RequestMsgType, func(_ []string, msgs []*protoext.SignedGossipMessage, _ protoext.ReceivedMessage) {
==>>
line 53 puller.RegisterMsgHook(pull.ResponseMsgType, func(_ []string, msgs []*protoext.SignedGossipMessage, _ protoext.ReceivedMessage) {
The text was updated successfully, but these errors were encountered: