From 879bf10ddeb677177f4fcfa33c258fd905e6c847 Mon Sep 17 00:00:00 2001 From: Roy Lee Date: Mon, 13 Sep 2021 11:25:48 -0700 Subject: [PATCH] [lbry] chain: bring back removed chainParams for a testcase --- chain/utils_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chain/utils_test.go b/chain/utils_test.go index 854818a..1b6c5e7 100644 --- a/chain/utils_test.go +++ b/chain/utils_test.go @@ -10,11 +10,14 @@ import ( "time" "github.com/lbryio/lbcd/blockchain" + "github.com/lbryio/lbcd/chaincfg" "github.com/lbryio/lbcd/chaincfg/chainhash" "github.com/lbryio/lbcd/wire" btcutil "github.com/lbryio/lbcutil" ) +var chainParams = chaincfg.RegressionNetParams + // conn mocks a network connection by implementing the net.Conn interface. It is // used to test peer connection without actually opening a network connection. type conn struct {