neo-go/examples
alexvanin 7f3392680d examples: Use "or" operator in transfer check of NEP5 token
CanTransfer function checks if "to" and "from" values are
correct script hashes. If one of these values is correct and one
incorrect, then function returns false positive result. It uses "and"
operator which requires both "to" and "from" script hashes to be
incorrect to fail transaction.

Instead transaction must fail if at least one argument is incorrect,
so it should be "or" operator.
2020-05-12 16:49:04 +03:00
..
engine *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
iterator *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
runtime *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
storage examples: expand storage smartcontract with find() usage example 2020-03-26 16:41:07 +03:00
token examples: Use "or" operator in transfer check of NEP5 token 2020-05-12 16:49:04 +03:00
token-sale *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00