mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
Not Include Attestations for Proposer (#587)
This commit is contained in:
parent
d65e2a4157
commit
a03baa8055
@ -167,7 +167,6 @@ func (p *Proposer) run(done <-chan struct{}, client pb.ProposerServiceClient) {
|
||||
// To prevent any unaccounted attestations from being added.
|
||||
p.lock.Lock()
|
||||
|
||||
agSig := p.AggregateAllSignatures(p.pendingAttestation)
|
||||
bitmask := p.GenerateBitmask(p.pendingAttestation)
|
||||
|
||||
// TODO(#552): Implement real proposals with randao reveals and attestation fields.
|
||||
@ -177,7 +176,6 @@ func (p *Proposer) run(done <-chan struct{}, client pb.ProposerServiceClient) {
|
||||
SlotNumber: latestBeaconBlock.GetSlotNumber() + 1,
|
||||
RandaoReveal: []byte{},
|
||||
AttestationBitmask: bitmask,
|
||||
AttestationAggregateSig: agSig,
|
||||
Timestamp: ptypes.TimestampNow(),
|
||||
}
|
||||
res, err := client.ProposeBlock(p.ctx, req)
|
||||
|
Loading…
Reference in New Issue
Block a user