Adding from to the signature is redundant
This commit is contained in:
@ -57,7 +57,7 @@ impl Transaction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn get_sign_data(&self) -> Vec<u8> {
|
fn get_sign_data(&self) -> Vec<u8> {
|
||||||
serialize(&(&self.from, &self.plan, &self.tokens, &self.last_id)).unwrap()
|
serialize(&(&self.plan, &self.tokens, &self.last_id)).unwrap()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Sign this transaction.
|
/// Sign this transaction.
|
||||||
|
Reference in New Issue
Block a user