fix: add missing return

This commit is contained in:
Derrick Hammer 2024-01-09 06:57:26 -05:00
parent 6e34f052f3
commit 266f9ada0e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ func (p *P2PImpl) readNodeVotes(nodeId *encoding.NodeId) (interfaces.NodeVotes,
var score interfaces.NodeVotes
err := msgpack.Unmarshal(node, &score)
if err != nil {
return nil, err
}
return score, nil