scriptAddr should hash the script without the length byte