mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 20:42:13 +00:00
Fix for /eth/v1/node/identity call missing syncnets
parameter.
This commit is contained in:
parent
a1db321f0a
commit
40a9da385d
@ -158,6 +158,7 @@ proc installNodeApiHandlers*(router: var RestRouter, node: BeaconNode) =
|
||||
discovery_addresses: discoveryAddresses,
|
||||
metadata: (
|
||||
seq_number: node.network.metadata.seq_number,
|
||||
syncnets: "0x" & ncrutils.toHex(node.network.metadata.syncnets.bytes),
|
||||
attnets: "0x" & ncrutils.toHex(node.network.metadata.attnets.bytes)
|
||||
)
|
||||
)
|
||||
|
@ -2718,7 +2718,7 @@
|
||||
"response": {
|
||||
"status": {"operator": "equals", "value": "200"},
|
||||
"headers": [{"key": "Content-Type", "value": "application/json", "operator": "equals"}],
|
||||
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"peer_id": "", "enr": "", "p2p_addresses": [""], "discovery_addresses": [""], "metadata": {"seq_number": "", "attnets": ""}}}]
|
||||
"body": [{"operator": "jstructcmps", "start": ["data"], "value": {"peer_id": "", "enr": "", "p2p_addresses": [""], "discovery_addresses": [""], "metadata": {"seq_number": "", "attnets": "", "syncnets": ""}}}]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user