Update utils.py

Changed data type of to addresses.