Adding const.
Adding const.

(cherry picked from commit 38c62aec0d21a3f5b76df7ba5aa449dfe3bfa038)

reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin,reddcoin-project/reddcoin