was using wrong protobuf
This commit is contained in:
parent
6a1541c132
commit
e1eafe87c4
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue