params: rename params.go to chainparams.go
This commit is contained in:
parent
2c556d11c7
commit
ff52ac374e
@ -69,6 +69,7 @@ func applyLitecoinParams(params *bitcoinNetParams) {
|
|||||||
params.PrivateKeyID = liteTestNetParams.PrivateKeyID
|
params.PrivateKeyID = liteTestNetParams.PrivateKeyID
|
||||||
params.WitnessPubKeyHashAddrID = liteTestNetParams.WitnessPubKeyHashAddrID
|
params.WitnessPubKeyHashAddrID = liteTestNetParams.WitnessPubKeyHashAddrID
|
||||||
params.WitnessScriptHashAddrID = liteTestNetParams.WitnessScriptHashAddrID
|
params.WitnessScriptHashAddrID = liteTestNetParams.WitnessScriptHashAddrID
|
||||||
|
params.Bech32HRPSegwit = liteTestNetParams.Bech32HRPSegwit
|
||||||
|
|
||||||
copy(params.HDPrivateKeyID[:], liteTestNetParams.HDPrivateKeyID[:])
|
copy(params.HDPrivateKeyID[:], liteTestNetParams.HDPrivateKeyID[:])
|
||||||
copy(params.HDPublicKeyID[:], liteTestNetParams.HDPublicKeyID[:])
|
copy(params.HDPublicKeyID[:], liteTestNetParams.HDPublicKeyID[:])
|
Loading…
Reference in New Issue
Block a user