mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-20 02:08:12 +00:00
Fix compilation problem.
This commit is contained in:
parent
0904ee5609
commit
42dd59852b
@ -120,8 +120,9 @@ proc installValidatorApiHandlers*(rpcServer: RpcServer, node: BeaconNode) =
|
||||
|
||||
rpcServer.rpc("get_v1_validator_attestation_data") do (
|
||||
slot: uint64, committee_index: uint64) -> AttestationData:
|
||||
let ares = node.attestationPool[].getAggregatedAttestation(slot,
|
||||
committee_index)
|
||||
let ares = node.attestationPool[].getAggregatedAttestation(
|
||||
Slot(slot), CommitteeIndex(committee_index)
|
||||
)
|
||||
if ares.isSome():
|
||||
return ares.get().data
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user