Update utils.py

Changed data types of to addresses.