fixed broken logs (#7934)

* fixed broken logs

* bring back old lock order

* removed bloom groups from blockchain

* revert unrelated changes

* simplify blockchain_block_blooms
This commit is contained in:
Marek Kotewicz
2018-02-22 11:22:56 +01:00
committed by Rando
parent e0b4506474
commit f8a2e53f3e
7 changed files with 79 additions and 168 deletions

View File

@@ -53,6 +53,11 @@ impl Block {
pub fn encoded(&self) -> Bytes {
encode(self).into_vec()
}
#[inline]
pub fn difficulty(&self) -> U256 {
*self.header.difficulty()
}
}
#[derive(Debug)]