mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-12 22:19:26 +00:00
Add SignableTransaction Read/Write
This commit is contained in:
@@ -386,11 +386,6 @@ impl Clsag {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// The length a CLSAG will take once serialized.
|
||||
pub fn fee_weight(ring_len: usize) -> usize {
|
||||
(ring_len * 32) + 32 + 32
|
||||
}
|
||||
|
||||
/// Write a CLSAG.
|
||||
pub fn write<W: Write>(&self, w: &mut W) -> io::Result<()> {
|
||||
write_raw_vec(write_scalar, &self.s, w)?;
|
||||
|
||||
Reference in New Issue
Block a user