claimtrie: allows '*' in claim name #102

Merged
roylee17 merged 1 commit from roylee/allow-asterisk-in-claim-name into master 2022-11-23 17:50:17 +01:00
Showing only changes of commit c732d00c2a - Show all commits

View file

@ -206,7 +206,7 @@ func StripClaimScriptPrefix(script []byte) []byte {
return script[cs.Size:] return script[cs.Size:]
} }
const illegalChars = "=&#:*$%?/;\\\b\n\t\r\x00" const illegalChars = "=&#:$%?/;\\\b\n\t\r\x00"
func AllClaimsAreSane(script []byte, enforceSoftFork bool) error { func AllClaimsAreSane(script []byte, enforceSoftFork bool) error {
cs, err := ExtractClaimScript(script) cs, err := ExtractClaimScript(script)