You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change store::on_gossip_attestation to take a ref to signed attestations (#278)
Closes#271
This pr changes `on_gossip_attestation` in both `store.rs` and `lib.rs`
to accept `&SignedAttestation` instead of taking ownership to avoid an
unnecessary clone at the call site when self-delivering attestations to
`gossip_signatures`, since only the inner data field (a small
`AttestationData`) needs to be cloned to construct the Attestation.
Co-authored-by: Tomás Grüner <47506558+MegaRedHand@users.noreply.github.com>
0 commit comments