mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 04:24:05 +00:00
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
|
||||
Eth2DiscoveryId* = NodeId
|
||||
|
||||
export
|
||||
Eth2DiscoveryProtocol, open, start, close, closeWait,
|
||||
updateRecord, results
|
||||
|
||||
func parseBootstrapAddress*(address: string):
|
||||
Result[enr.Record, cstring] =
|
||||
let lowerCaseAddress = toLowerAscii(string address)
|
||||
|
Loading…
x
Reference in New Issue
Block a user