refactor: use Kind

This commit is contained in:
Derrick Hammer 2024-01-09 12:50:28 -05:00
parent 799be312e1
commit 185d0636ef
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ func (p *P2PImpl) OnNewPeerListen(peer net.Peer, verifyId bool) {
return err
}
handler, ok := protocol.GetMessageType(imsg.GetKind())
handler, ok := protocol.GetMessageType(imsg.Kind())
if ok {