Fix tmsp-cli to conform to go-wire new TypeByte behavior; Rename tmsp_cli to tmsp-cli

This commit is contained in:
Jae Kwon
2015-12-21 16:18:41 -08:00
parent 2d9abb06ca
commit 844c4a519d
2 changed files with 9 additions and 5 deletions

View File

@ -35,8 +35,7 @@ func TestStream(t *testing.T) {
var n int
var err error
var res types.Response
wire.ReadVarint(conn, &n, &err) // ignore
wire.ReadBinaryPtr(&res, conn, 0, &n, &err)
wire.ReadBinaryPtrLengthPrefixed(&res, conn, 0, &n, &err)
if err != nil {
Exit(err.Error())
}