Commit 75c5c3d4 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Block announce validation should use the correct `Validation` result (#315)



* Block announce validation should use the correct `Validation` result

The error variant is just for internal errors and we need to return
`Failure` always when the other node send us an invalid statement.

* Update network/src/lib.rs

Co-authored-by: default avatarSergei Shulepov <[email protected]>

Co-authored-by: default avatarSergei Shulepov <[email protected]>
parent 52fcabdb
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