rm unused `dump` function for `KeystoresAndSlashingProtection` (#4170)
In `eth2_rest_serialization` there was a `dump` function for `KeystoresAndSlashingProtection` that does not seem to be used. Removes that unused function.
This commit is contained in:
parent
321c872790
commit
d76df065a1
|
@ -2165,13 +2165,6 @@ proc readValue*(reader: var JsonReader[RestJson],
|
|||
value = RestActivityItem(index: index.get(), epoch: epoch.get(),
|
||||
active: active.get())
|
||||
|
||||
proc dump*(value: KeystoresAndSlashingProtection): string {.
|
||||
raises: [IOError, SerializationError, Defect].} =
|
||||
var stream = memoryOutput()
|
||||
var writer = JsonWriter[RestJson].init(stream)
|
||||
writer.writeValue(value)
|
||||
stream.getOutput(string)
|
||||
|
||||
proc writeValue*(writer: var JsonWriter[RestJson],
|
||||
value: HeadChangeInfoObject) {.
|
||||
raises: [IOError, Defect].} =
|
||||
|
|
Loading…
Reference in New Issue