Closed psivesely closed 4 years ago
If there are more messages that public keys only the messages that have public keys are verified because of how zip works. Also, allocate (message hash, pubkey) Vec using with_capacity to avoid needing to re-alloc.
Vec
with_capacity
@psivesely can you run cargo fmt on the repository?
cargo fmt
If there are more messages that public keys only the messages that have public keys are verified because of how zip works. Also, allocate (message hash, pubkey)
Vec
usingwith_capacity
to avoid needing to re-alloc.