mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-18 15:41:20 +00:00
Fix tmsp-cli to conform to go-wire new TypeByte behavior; Rename tmsp_cli to tmsp-cli
This commit is contained in:
@ -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())
|
||||
}
|
||||
|
Reference in New Issue
Block a user