mirror of
https://github.com/kaspanet/kaspad.git
synced 2026-03-01 06:33:17 +00:00
This commit removes the error returns from the BlockHeader.BlockSha, MsgBlock.BlockSha, and MsgTx.TxSha functions since they can never fail and end up causing a lot of unneeded error checking throughout the code base. It also updates all call sites for the change.