Browse Source

blockchain/store: comment about panics

pull/774/head
Ethan Buchman 7 years ago
parent
commit
2802a06a08
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      blockchain/store.go

+ 2
- 1
blockchain/store.go View File

@ -25,7 +25,8 @@ Currently the precommit signatures are duplicated in the Block parts as
well as the Commit. In the future this may change, perhaps by moving
the Commit data outside the Block.
Panics indicate probable corruption in the data
// NOTE: BlockStore methods will panic if they encounter errors
// deserializing loaded data, indicating probable corruption on disk.
*/
type BlockStore struct {
db dbm.DB


Loading…
Cancel
Save