From e101aa9fc80367feb825974a2192a53472805f83 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Wed, 6 Dec 2017 01:21:14 -0500 Subject: [PATCH] fix for legacy gowire --- p2p/connection.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p2p/connection.go b/p2p/connection.go index ad73b68e8..b01674033 100644 --- a/p2p/connection.go +++ b/p2p/connection.go @@ -11,12 +11,12 @@ import ( "time" wire "github.com/tendermint/go-wire" - tmencoding "github.com/tendermint/go-wire/nowriter/tmencoding" + tmlegacy "github.com/tendermint/go-wire/nowriter/tmlegacy" cmn "github.com/tendermint/tmlibs/common" flow "github.com/tendermint/tmlibs/flowrate" ) -var legacy = tmencoding.Legacy +var legacy = tmlegacy.TMEncoderLegacy{} const ( numBatchMsgPackets = 10