Use Serde's with
attribute to shorten length encodings in Transaction
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
/// Maximum over-the-wire size of a Transaction
|
||||
// TODO: Set this back to 512 after shortvec optimization is reinstated.
|
||||
pub const PACKET_DATA_SIZE: usize = 522;
|
||||
pub const PACKET_DATA_SIZE: usize = 512;
|
||||
|
Reference in New Issue
Block a user