Sounds like a split wired receptacle that has two 15 amp circuits connected to it. If you only connected the new receptacle to the black and white it should have been fine if you left the old one in place. The old one would have had the tab cut between the screws on the hot side.