transaction.rs - panic cleanup
This commit is contained in:
parent
658e787b60
commit
86c1aaf7d8
|
@ -70,7 +70,7 @@ impl Transaction {
|
|||
}
|
||||
|
||||
fn get_sign_data(&self) -> Vec<u8> {
|
||||
serialize(&(&self.data)).unwrap()
|
||||
serialize(&(&self.data)).expect("failed to serialize sign_data")
|
||||
}
|
||||
|
||||
/// Sign this transaction.
|
||||
|
|
Loading…
Reference in New Issue