* modify rpcWhitelist.whitelist to rpcWhitelist.whitelistFunc