mirror of
https://github.com/btcsuite/btcd.git
synced 2026-08-14 12:42:51 +02: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. |
||
|---|---|---|
| .. | ||
| dbtest | ||
| block.go | ||
| boundary_test.go | ||
| doc.go | ||
| dup_test.go | ||
| insertremove_test.go | ||
| internal_test.go | ||
| leveldb.go | ||
| operational_test.go | ||
| tx.go | ||