Replace ScriptToAddress with ScriptToAddrHash to return an address hash.