Conform to go-wire new TypeByte behavior

This commit is contained in:
Jae Kwon
2015-12-21 14:48:44 -08:00
parent 5bf7796004
commit 08d7980d80
6 changed files with 22 additions and 22 deletions

View File

@ -92,7 +92,7 @@ func (app *remoteAppContext) sendRequestsRoutine() {
app.willSendReq(reqres)
wire.WriteBinaryLengthPrefixed(reqres.Request, app.bufWriter, &n, &err) // Length prefix
wire.WriteBinaryLengthPrefixed(struct{ tmsp.Request }{reqres.Request}, app.bufWriter, &n, &err) // Length prefix
if err != nil {
app.StopForError(err)
return