Function ckb_std::syscalls::exit

source ·
pub fn exit(code: i8) -> !
Available on non-crate feature simulator only.
Expand description

Exit, this script will be terminated after the exit syscall. exit code 0 represents verification is success, others represent error code.