Lbryinc errors #85

Merged
anbsky merged 5 commits from lbryinc-errors into master 2021-02-22 18:38:00 +01:00
Showing only changes of commit 39e5821760 - Show all commits

View file

@ -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},
}
nikooo777 commented 2021-02-16 19:17:29 +01:00 (Migrated from github.com)
Review

ouch did you test this out? I'm always very scared of touching those things

ouch did you test this out? I'm always very scared of touching those things
anbsky commented 2021-02-16 21:50:06 +01:00 (Migrated from github.com)
Review

This syntax is fine (and it's also an auto gofmt fix)

This syntax is fine (and it's also an auto gofmt fix)
lyoshenka commented 2021-02-18 18:17:41 +01:00 (Migrated from github.com)
Review
[fear is the mind-killer](https://dune.fandom.com/wiki/Litany_Against_Fear)
func PrefixIsValid(address [addressLength]byte, blockchainName string) bool {