erigon-pulse/cmd/lightclient/rpc/lightrpc/clone.go
Giulio rebuffo 20fded8b33
Removing useless and rendundant code from cmd/lightclient (#5643)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-06 14:34:39 +02:00

24 lines
567 B
Go

package lightrpc
import "github.com/ledgerwatch/erigon/cmd/lightclient/sentinel/communication"
func (*SignedBeaconBlockBellatrix) Clone() communication.Packet {
return &SignedBeaconBlockBellatrix{}
}
func (*LightClientFinalityUpdate) Clone() communication.Packet {
return &LightClientFinalityUpdate{}
}
func (*LightClientOptimisticUpdate) Clone() communication.Packet {
return &LightClientOptimisticUpdate{}
}
func (*MetadataV1) Clone() communication.Packet {
return &MetadataV1{}
}
func (*MetadataV2) Clone() communication.Packet {
return &MetadataV2{}
}