From aa0ec4ac41107e314c9f9fe3982d5e3cbd8b3efe Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sun, 23 Apr 2023 18:56:48 -0400 Subject: [PATCH] cargo fmt --- coordinator/tributary/src/lib.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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)