was using wrong protobuf

This commit is contained in:
Jeff Carr 2025-08-21 22:43:40 -05:00
parent 6a1541c132
commit e1eafe87c4
1 changed files with 2 additions and 1 deletions

View File

@ -61,9 +61,10 @@ func (f *Forge) submitPatchset(pset *Patchset) error {
return err
}
newpb := NewPatchsets()
newpb := NewPatches()
if err := newpb.UnmarshalTEXT(body); err != nil {
log.Infof("forged DID NOT SEND BACK PROTOBUF len(body)=%d %s (TODO: look for failure on cloudflare 'is human' check here)\n", len(body), body[0:40])
log.Infof("TODO: try to identify data here len(body)=%d body[0:40]=%s\n", len(body), body[0:40])
return err
}