Commit ccc76bc3 authored by zhiqiangxu's avatar zhiqiangxu Committed by GitHub

fix error msg (#9223)

parent 81a01462
...@@ -81,7 +81,7 @@ const ( ...@@ -81,7 +81,7 @@ const (
func (sw StateWitness) StateHash() (common.Hash, error) { func (sw StateWitness) StateHash() (common.Hash, error) {
if len(sw) != 226 { if len(sw) != 226 {
return common.Hash{}, fmt.Errorf("Invalid witness length. Got %d, expected at least 88", len(sw)) return common.Hash{}, fmt.Errorf("Invalid witness length. Got %d, expected 226", len(sw))
} }
hash := crypto.Keccak256Hash(sw) hash := crypto.Keccak256Hash(sw)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment