ledger-tool/: Include full validator voting history in fork-graph (#6756) (#6757)

automerge
This commit is contained in:
mergify[bot]
2019-11-05 19:39:12 -08:00
committed by Grimes
parent 92c893fe2c
commit 802695934e
3 changed files with 32 additions and 19 deletions

View File

@@ -1151,9 +1151,12 @@ impl Blocktree {
serialized_shred
.expect("Shred must exist if shred index was included in a range"),
)
.map_err(|_| {
.map_err(|err| {
BlocktreeError::InvalidShredData(Box::new(bincode::ErrorKind::Custom(
"Could not reconstruct shred from shred payload".to_string(),
format!(
"Could not reconstruct shred from shred payload: {:?}",
err
),
)))
})
})