Strictly speaking you're supposed to start and end flights on the same passport. In practice I haven't done that a few times (I travel with both, often forget which I check in with) and I've never had trouble. Not to say you WON'T have trouble though