mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-02-22 21:17:35 +00:00
Script can return non-bool results that can still be converted to bool according to the usual VM rules. Unfortunately Bool() panics if this conversion fails which is OK for things done in vm.execute(), but certainly not for VerifyWitnesses(), thus there is a need for TryBool() that will just return an error in this case. |
||
---|---|---|
.. | ||
core | ||
crypto | ||
internal/keytestcases | ||
interop | ||
io | ||
network | ||
rpc | ||
smartcontract | ||
util | ||
vm | ||
wallet |