Run gofmt on validate.go
This commit is contained in:
parent
cb68cb004e
commit
39e5821760
1 changed files with 3 additions and 3 deletions
|
@ -24,9 +24,9 @@ const lbrycrdTestnet = "lbrycrd_testnet"
|
||||||
const lbrycrdRegtest = "lbrycrd_regtest"
|
const lbrycrdRegtest = "lbrycrd_regtest"
|
||||||
|
|
||||||
var addressPrefixes = map[string][2]byte{
|
var addressPrefixes = map[string][2]byte{
|
||||||
lbrycrdMain: [2]byte{lbrycrdMainPubkeyPrefix, lbrycrdMainScriptPrefix},
|
lbrycrdMain: {lbrycrdMainPubkeyPrefix, lbrycrdMainScriptPrefix},
|
||||||
lbrycrdTestnet: [2]byte{lbrycrdTestnetPubkeyPrefix, lbrycrdTestnetScriptPrefix},
|
lbrycrdTestnet: {lbrycrdTestnetPubkeyPrefix, lbrycrdTestnetScriptPrefix},
|
||||||
lbrycrdRegtest: [2]byte{lbrycrdRegtestPubkeyPrefix, lbrycrdRegtestScriptPrefix},
|
lbrycrdRegtest: {lbrycrdRegtestPubkeyPrefix, lbrycrdRegtestScriptPrefix},
|
||||||
}
|
}
|
||||||
|
|
||||||
func PrefixIsValid(address [addressLength]byte, blockchainName string) bool {
|
func PrefixIsValid(address [addressLength]byte, blockchainName string) bool {
|
||||||
|
|
Loading…
Reference in a new issue