A corporate bond is purchased at its par value of $1,000 and later sold at a discount. This would be indicative of which of the following risks?
a) Opportunity risk
b) Credit risk
c) Currency risk
d) Interest-rate risk