mirror of
https://github.com/logos-co/nomos-pocs.git
synced 2025-01-12 18:34:10 +00:00
remove BoundTx::to_bytes
This commit is contained in:
parent
6dfceffc2d
commit
459c7fa2c4
@ -179,14 +179,6 @@ pub struct BoundTx {
|
||||
pub bind: PartialTxInputWitness,
|
||||
}
|
||||
|
||||
impl BoundTx {
|
||||
pub fn to_bytes(&self) -> Vec<u8> {
|
||||
let mut bytes = self.tx.to_bytes();
|
||||
bytes.extend(self.bind.input.commit().to_bytes());
|
||||
bytes
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
||||
pub enum Tx {
|
||||
Withdraw(Withdraw),
|
||||
|
Loading…
x
Reference in New Issue
Block a user