Add more detail to best node error

This commit is contained in:
Paul Hauner
2020-01-17 09:13:34 +11:00
parent 9d295b7e95
commit f136d38543
2 changed files with 8 additions and 6 deletions

View File

@@ -23,9 +23,11 @@ pub enum Error {
new_finalized_epoch: Epoch,
},
InvalidBestNode {
start_root: Hash256,
justified_epoch: Epoch,
finalized_epoch: Epoch,
node_justified_epoch: Epoch,
node_finalized_epoch: Epoch,
head_root: Hash256,
head_justified_epoch: Epoch,
head_finalized_epoch: Epoch,
},
}