mirror of
https://github.com/btcsuite/btcd.git
synced 2026-08-13 12:32:51 +02:00
make fmt
This commit is contained in:
parent
1f00e1a31f
commit
51944b270c
3 changed files with 3 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -115,4 +115,3 @@ func BenchmarkMsgCFCheckptDecodeEmpty(b *testing.B) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue