Fix uncle getter
Uncle blocks don't necessarily have BlockDetails, so can't get total difficulty directly. Closes #1057
This commit is contained in:
@@ -53,6 +53,7 @@ pub struct TraceId {
|
||||
}
|
||||
|
||||
/// Uniquely identifies Uncle.
|
||||
#[derive(Debug)]
|
||||
pub struct UncleId (
|
||||
/// Block id.
|
||||
pub BlockId,
|
||||
|
||||
Reference in New Issue
Block a user