types: p2pID -> P2PID

This commit is contained in:
Ethan Buchman
2018-03-02 01:42:56 -05:00
parent 6cf5100645
commit ca3655a409
3 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -218,5 +218,5 @@ func (hvs *HeightVoteSet) SetPeerMaj23(round int, type_ byte, peerID p2p.ID, blo
if voteSet == nil {
return nil // something we don't know about yet
}
return voteSet.SetPeerMaj23(peerID, blockID)
return voteSet.SetPeerMaj23(types.P2PID(peerID), blockID)
}