fix_: remove waku go generate instructions as unused

This commit is contained in:
Igor Sirotin 2024-09-24 20:18:12 +01:00
parent 9232fb4586
commit 2a99d0e744
No known key found for this signature in database
GPG Key ID: 425E227CAAB81F95
2 changed files with 0 additions and 8 deletions

View File

@ -209,8 +209,6 @@ func (api *PublicWakuAPI) CancelLightClient(ctx context.Context) bool {
return !api.w.LightClientMode()
}
//go:generate gencodec -type NewMessage -field-override newMessageOverride -out gen_newmessage_json.go
// NewMessage represents a new waku message that is posted through the RPC.
type NewMessage struct {
SymKeyID string `json:"symKeyID"`
@ -428,8 +426,6 @@ func (api *PublicWakuAPI) Messages(ctx context.Context, crit Criteria) (*rpc.Sub
return rpcSub, nil
}
//go:generate gencodec -type Message -field-override messageOverride -out gen_message_json.go
// Message is the RPC representation of a waku message.
type Message struct {
Sig []byte `json:"sig,omitempty"`

View File

@ -171,8 +171,6 @@ func (api *PublicWakuAPI) BloomFilter() []byte {
return nil
}
//go:generate gencodec -type NewMessage -field-override newMessageOverride -out gen_newmessage_json.go
// NewMessage represents a new waku message that is posted through the RPC.
type NewMessage struct {
SymKeyID string `json:"symKeyID"`
@ -376,8 +374,6 @@ func (api *PublicWakuAPI) Messages(ctx context.Context, crit Criteria) (*rpc.Sub
return rpcSub, nil
}
//go:generate gencodec -type Message -field-override messageOverride -out gen_message_json.go
// Message is the RPC representation of a waku message.
type Message struct {
Sig []byte `json:"sig,omitempty"`