The Federal Home Loan Bank of Pittsburgh returned to the black in the second quarter, posting a $32 million profit.