diff --git a/coordinator/tributary/src/lib.rs b/coordinator/tributary/src/lib.rs index acb31da3..f38a59a5 100644 --- a/coordinator/tributary/src/lib.rs +++ b/coordinator/tributary/src/lib.rs @@ -144,7 +144,13 @@ impl Tributary { self.network.blockchain.read().unwrap().block(hash) } pub fn time_of_block(&self, hash: &[u8; 32]) -> Option { - self.network.blockchain.read().unwrap().commit(hash).map(|commit| Commit::::decode(&mut commit.as_ref()).unwrap().end_time) + self + .network + .blockchain + .read() + .unwrap() + .commit(hash) + .map(|commit| Commit::::decode(&mut commit.as_ref()).unwrap().end_time) } pub fn commit(&self, hash: &[u8; 32]) -> Option> { self.network.blockchain.read().unwrap().commit(hash)