[lbry] chain: bring back removed chainParams for a testcase

This commit is contained in:
Roy Lee 2021-09-13 11:25:48 -07:00
parent cedfab95fa
commit 879bf10dde

View file

@ -10,11 +10,14 @@ import (
"time" "time"
"github.com/lbryio/lbcd/blockchain" "github.com/lbryio/lbcd/blockchain"
"github.com/lbryio/lbcd/chaincfg"
"github.com/lbryio/lbcd/chaincfg/chainhash" "github.com/lbryio/lbcd/chaincfg/chainhash"
"github.com/lbryio/lbcd/wire" "github.com/lbryio/lbcd/wire"
btcutil "github.com/lbryio/lbcutil" btcutil "github.com/lbryio/lbcutil"
) )
var chainParams = chaincfg.RegressionNetParams
// conn mocks a network connection by implementing the net.Conn interface. It is // conn mocks a network connection by implementing the net.Conn interface. It is
// used to test peer connection without actually opening a network connection. // used to test peer connection without actually opening a network connection.
type conn struct { type conn struct {