Skip to content

Commit

Permalink
Fix error in computation of PcP serialize size
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdelisle committed Oct 26, 2022
1 parent b95b82a commit b48198b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wire/packetcryptproof.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ func (h *PacketCryptProof) SerializeSize() int {
out += VarIntSerializeSize(uint64(verLen))
out += verLen
}
out += 4 + PcAnnSerializeSize*4
{
pcplen := 1024*4 + 4 + len(h.AnnProof)
out += VarIntSerializeSize(pcpType)
Expand Down

0 comments on commit b48198b

Please sign in to comment.