Fix bug in resource sender

Was sending old amounts, which is already calculated above