The consciousness of acting right diffused a serenity over his manners, which nothing else could impart to a man of moral perceptions like his, and which refined his sense of every surrounding blessing.
THE MYSTERIES OF UDOLPHO by Ann Radcliff
I'm trying to understand the bold sentence. I think "which" refers to "the consciousness of the acting". This makes me understand the the whole idea as " only the consciousness of acting can impart this serenity to a man of moral like him"