Commit 0f0c5119 authored by George Hotz's avatar George Hotz

downgrade receipts to warning

parent 97fd0a16
......@@ -194,11 +194,13 @@ func Input(index int) common.Hash {
}
func Output(output common.Hash, receipts common.Hash) {
if output == inputs[6] && receipts == inputs[7] {
if receipts != inputs[7] {
fmt.Println("WARNING, receipts don't match", receipts, "!=", inputs[7])
}
if output == inputs[6] {
fmt.Println("good transition")
} else {
fmt.Println(output, "!=", inputs[6])
fmt.Println(receipts, "!=", inputs[7])
panic("BAD transition :((")
}
}
......
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