lighthouse-pulse/consensus/state_processing
Michael Sproul e5fc6bab48 Remove redundant decompression in process_deposit (#1610)
## Issue Addressed

Closes #1076

## Proposed Changes

Remove an extra unnecessary decompression of the deposit public key from `process_deposit`. The key is decompressed and used to verify the signature in `verify_deposit_signature`, making this initial decompression redundant.

## Additional Info

This is _not_ a consensus-breaking change because keys which previously failed the early decompression check will not be found in the pubkey cache (they are invalid), and will be checked and rejected as part of `verify_deposit_signature`.
2020-09-14 10:58:15 +00:00
..
benches Consensus updates for v0.12 (#1228) 2020-06-03 14:56:54 +10:00
src Remove redundant decompression in process_deposit (#1610) 2020-09-14 10:58:15 +00:00
tests Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
.gitignore Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
Cargo.toml Check for unused deps in CI (#1262) 2020-06-14 10:59:50 +10:00