diff --git a/addrmgr/network.go b/addrmgr/network.go index 66c07433..e86133a2 100644 --- a/addrmgr/network.go +++ b/addrmgr/network.go @@ -276,7 +276,7 @@ func IsRoutable(na *wire.NetAddressV2) bool { IsRFC4843(lna) || IsRFC7343(lna) || IsRFC5737(lna) || IsRFC6598(lna) || IsLocal(lna) || IsZero(lna) || (IsRFC4193(lna) && - !IsOnionCatTor(lna))) + !IsOnionCatTor(lna))) } // GroupKey returns a string representing the network group an address is part diff --git a/chaincfg/params.go b/chaincfg/params.go index 8aa6c110..5eda0327 100644 --- a/chaincfg/params.go +++ b/chaincfg/params.go @@ -560,8 +560,8 @@ var RegressionNetParams = Params{ DeploymentEnder: NewMedianTimeDeploymentEnder( time.Time{}, // Never expires. ), - MinActivationHeight: 0, - AlwaysActiveHeight: 1, + MinActivationHeight: 0, + AlwaysActiveHeight: 1, CustomActivationThreshold: 108, // Only needs 75% hash rate. }, }, diff --git a/wire/msgcfcheckpt_bench_test.go b/wire/msgcfcheckpt_bench_test.go index 47bcfe05..0bc3b7dc 100644 --- a/wire/msgcfcheckpt_bench_test.go +++ b/wire/msgcfcheckpt_bench_test.go @@ -115,4 +115,3 @@ func BenchmarkMsgCFCheckptDecodeEmpty(b *testing.B) { } } } -