historian / transaction updates

This commit is contained in:
Jackson Sandland 2018-05-09 17:22:14 -07:00
parent f2de486658
commit 02c573986b
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ impl Historian {
} }
pub fn receive(self: &Self) -> Result<Entry, TryRecvError> { pub fn receive(self: &Self) -> Result<Entry, TryRecvError> {
self.output.lock().unwrap().try_recv() self.output.lock().expect("failed 'output' lock in Historian").try_recv()
} }
} }

View File

@ -70,7 +70,7 @@ impl Transaction {
} }
fn get_sign_data(&self) -> Vec<u8> { fn get_sign_data(&self) -> Vec<u8> {
serialize(&(&self.data)).expect("failed to serialize sign_data") serialize(&(&self.data)).expect("failed on serialize TransactionData")
} }
/// Sign this transaction. /// Sign this transaction.