hexresearch / hschain

Other
4 stars 0 forks source link

Improve error messages for exceptions when rewinding #563

Closed Shimuuar closed 4 years ago

Shimuuar commented 4 years ago

Changes:

InconsistenceWhenRewinding :: InternalError
  H of block that caused problem:
    Height 0
  Problem:
    Hash of calculated state doesn't match hash in block
  Expected hash (one that stored in block):
    Hash "swHmGH77tnTt3pc3sgCcgjakiyH"
  Hash of computed value:
    Hash "3GTLSwo2jMqQ8rSAkqoBVZ1poXg"