fix: change +4 to +2

This commit is contained in:
Derrick Hammer 2024-03-01 02:19:35 -05:00
parent 39903f03e5
commit efb11a9c50
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ func (m *MediaMetadata) decodeProof(dec *msgpack.Decoder) error {
return nil
}
childDec := msgpack.NewDecoder(bytes.NewReader(all[2 : proofSectionLength+4]))
childDec := msgpack.NewDecoder(bytes.NewReader(all[2 : 2+proofSectionLength]))
b3hash := blake3.Sum256(bodyBytes)