Fix address data

The asynchronous RPC function in the for loop was writing all data to
the last transaction in the list.