Skip to content

Commit

Permalink
Run gofmt on validate.go
Browse files Browse the repository at this point in the history
  • Loading branch information
anbsky committed Feb 16, 2021
1 parent cb68cb0 commit 39e5821
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions schema/address/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ const lbrycrdTestnet = "lbrycrd_testnet"
const lbrycrdRegtest = "lbrycrd_regtest"

var addressPrefixes = map[string][2]byte{
lbrycrdMain: [2]byte{lbrycrdMainPubkeyPrefix, lbrycrdMainScriptPrefix},
lbrycrdTestnet: [2]byte{lbrycrdTestnetPubkeyPrefix, lbrycrdTestnetScriptPrefix},
lbrycrdRegtest: [2]byte{lbrycrdRegtestPubkeyPrefix, lbrycrdRegtestScriptPrefix},
lbrycrdMain: {lbrycrdMainPubkeyPrefix, lbrycrdMainScriptPrefix},
lbrycrdTestnet: {lbrycrdTestnetPubkeyPrefix, lbrycrdTestnetScriptPrefix},
lbrycrdRegtest: {lbrycrdRegtestPubkeyPrefix, lbrycrdRegtestScriptPrefix},
}

func PrefixIsValid(address [addressLength]byte, blockchainName string) bool {
Expand Down

0 comments on commit 39e5821

Please sign in to comment.