MCPcopy Create free account
hub / github.com/6boris/web3-template / ProtoReflect

Method ProtoReflect

api/service/data/chain.pb.go:46–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44func (*SyncBlockInfoRequest) ProtoMessage() {}
45
46func (x *SyncBlockInfoRequest) ProtoReflect() protoreflect.Message {
47 mi := &file_service_data_chain_proto_msgTypes[0]
48 if protoimpl.UnsafeEnabled && x != nil {
49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
50 if ms.LoadMessageInfo() == nil {
51 ms.StoreMessageInfo(mi)
52 }
53 return ms
54 }
55 return mi.MessageOf(x)
56}
57
58// Deprecated: Use SyncBlockInfoRequest.ProtoReflect.Descriptor instead.
59func (*SyncBlockInfoRequest) Descriptor() ([]byte, []int) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected