ampersand should not keep something out of the mempool

This commit is contained in:
Brannon King 2021-11-09 14:53:27 -05:00
parent c2f28f3440
commit 53f79b0979

View file

@ -197,7 +197,7 @@ func isUpdateClaim(pops []parsedOpcode) bool {
pops[5].opcode.value == OP_2DROP pops[5].opcode.value == OP_2DROP
} }
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 := DecodeClaimScript(script) cs, err := DecodeClaimScript(script)