diff --git a/patchset.Send.go b/patchset.Send.go index 09d42c6..d71df40 100644 --- a/patchset.Send.go +++ b/patchset.Send.go @@ -62,7 +62,7 @@ func (f *Forge) submitPatchset(pset *Patchset) error { } newpb := NewPatches() - if err := newpb.UnmarshalTEXT(body); err != nil { + if err := newpb.Unmarshal(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:100]) log.Infof("TODO: try to identify data here len(body)=%d body[0:40]=%s\n", len(body), body[0:40]) log.Info("BODY START:", body[0:10], string(body[0:10]))