transaction.rs - panic cleanup

This commit is contained in:
Jackson Sandland 2018-05-08 22:46:22 -07:00
parent 658e787b60
commit 86c1aaf7d8
1 changed files with 1 additions and 1 deletions

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)).unwrap() serialize(&(&self.data)).expect("failed to serialize sign_data")
} }
/// Sign this transaction. /// Sign this transaction.