(OTS) Mempool Transaction Key Not Initialized w/ Correct Capacity #881
Labels
Priority: Low
This issue can probably be picked up by anyone looking to contribute to the project, as an entry fix
Source: Audit
Issues discovered by audit.
Status: Accepted
It's clear what the subject of the issue is about, and what the resolution should be.
suzuka:performance
Summary
In construct_mempool_transaction_key the initial vector capacity won’t be enough for for the key since the
id
is formatted as hex. Hex encoding will take64
bytes instead of32
which means formula should be32+1+32+1+32+1+64
instead.The text was updated successfully, but these errors were encountered: