types: minor cleanup of un or minimally used types (#8154)

This commit is contained in:
Sam Kleinman
2022-03-18 16:27:10 +00:00
committed by GitHub
parent f61e6e4201
commit f1a8f47d4d
4 changed files with 7 additions and 29 deletions
+1 -1
View File
@@ -199,7 +199,7 @@ func (hvs *HeightVoteSet) SetPeerMaj23(
if voteSet == nil {
return nil // something we don't know about yet
}
return voteSet.SetPeerMaj23(types.P2PID(peerID), blockID)
return voteSet.SetPeerMaj23(string(peerID), blockID)
}
//---------------------------------------------------------