Cognitive Radio Network uses the available spectrum resources wisely. Spectrum sensing is the central element of a cognitive radio network. However, spectrum sensing is susceptible to multiple security breaches caused by malicious users. These attackers attempt to change the sensed result in order to decrease network performance. In our proposed approach, with the help of Blockchain-based technology, the fusion center is able to detect and prevent such criminal activities. The method of our model makes use of blockchain-based malicious user detection with SHA-3 hashing and energy detection-based Spectrum sensing. The detection strategy takes place in two stages: Block updation phase and iron out phase. The simulation results of the proposed method demonstrate 3.125%, 6.5% and 8.8% more detection probability at -5 dB SNR in the presence of malicious users, when compared to other methods like equal gain combining (EGC), blockchain based coperative spectrum sensing (BCSS) and fault-tolerant cooperative spectrum sensing (FTCSS) respectively. Thus, the security of cognitive radio blockchain network is proved to be significantly improved.