Fix simulation regression due to custody_bitfield (#108)

This commit is contained in:
Mamy Ratsimbazafy 2019-02-12 23:50:02 +01:00 committed by GitHub
parent 899c8e5df9
commit b60fa131f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -181,7 +181,10 @@ proc makeAttestation(node: BeaconNode,
var attestation = Attestation( var attestation = Attestation(
data: attestationData, data: attestationData,
aggregate_signature: validatorSignature, aggregate_signature: validatorSignature,
aggregation_bitfield: participationBitfield) aggregation_bitfield: participationBitfield,
# Stub in phase0
custody_bitfield: newSeq[byte](participationBitfield.len)
)
await node.network.broadcast(topicAttestations, attestation) await node.network.broadcast(topicAttestations, attestation)