If it's steel just tighten the nuts up job done. Your chainline should be OK as it's measured/determined from the centre line of your hub and measured from the centreline of your downtube. If it was 42mm before it should be 42mm after tightening the nuts. Even if you put washers or nuts between locking nut and frame your chainline shouldn't alter unless when tightened up the rear stays dont squeeze evenly, i.e. you end up with the hub off centre and therefore chainline more to one side.
If it's steel just tighten the nuts up job done. Your chainline should be OK as it's measured/determined from the centre line of your hub and measured from the centreline of your downtube. If it was 42mm before it should be 42mm after tightening the nuts. Even if you put washers or nuts between locking nut and frame your chainline shouldn't alter unless when tightened up the rear stays dont squeeze evenly, i.e. you end up with the hub off centre and therefore chainline more to one side.