pibd: bound segment decoding allocations (#3850)
This commit is contained in:
+1
-1
@@ -382,7 +382,7 @@ impl MessageHandler for Protocol {
|
||||
block_hash,
|
||||
output_root
|
||||
);
|
||||
adapter.receive_bitmap_segment(block_hash, output_root, segment.into())?;
|
||||
adapter.receive_bitmap_segment(block_hash, output_root, segment.into_segment()?)?;
|
||||
Consumed::None
|
||||
}
|
||||
Message::OutputSegment(req) => {
|
||||
|
||||
Reference in New Issue
Block a user