filecoin-project / rust-fil-proofs

Proofs for Filecoin in Rust
Other
489 stars 314 forks source link

Remove unnecessary copy of proof bytes #1713

Closed lemmih closed 1 year ago

lemmih commented 1 year ago

new_from_reader unnecessarily copies the bytes into a Vec<u8> in this case.