remove unnecessary exports in `eth2_discovery` (#5987)
The exports in `eth2_discovery` produce deprecation warnings as they refer to `close`, `closeWait` and so on. Turns out that they are not necessary at all. The `Eth2DiscoveryProtocol` is even already exported two lines above using `*` marker...
This commit is contained in:
parent
4a74ef9cba
commit
a91366734b
|
@ -24,10 +24,6 @@ type
|
||||||
Eth2DiscoveryProtocol* = protocol.Protocol
|
Eth2DiscoveryProtocol* = protocol.Protocol
|
||||||
Eth2DiscoveryId* = NodeId
|
Eth2DiscoveryId* = NodeId
|
||||||
|
|
||||||
export
|
|
||||||
Eth2DiscoveryProtocol, open, start, close, closeWait,
|
|
||||||
updateRecord, results
|
|
||||||
|
|
||||||
func parseBootstrapAddress*(address: string):
|
func parseBootstrapAddress*(address: string):
|
||||||
Result[enr.Record, cstring] =
|
Result[enr.Record, cstring] =
|
||||||
let lowerCaseAddress = toLowerAscii(string address)
|
let lowerCaseAddress = toLowerAscii(string address)
|
||||||
|
|
Loading…
Reference in New Issue