fix_: remove waku go generate instructions as unused (#5892)
This commit is contained in:
parent
1ecb594bda
commit
f970b85971
|
@ -209,8 +209,6 @@ func (api *PublicWakuAPI) CancelLightClient(ctx context.Context) bool {
|
||||||
return !api.w.LightClientMode()
|
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.
|
// NewMessage represents a new waku message that is posted through the RPC.
|
||||||
type NewMessage struct {
|
type NewMessage struct {
|
||||||
SymKeyID string `json:"symKeyID"`
|
SymKeyID string `json:"symKeyID"`
|
||||||
|
@ -428,8 +426,6 @@ func (api *PublicWakuAPI) Messages(ctx context.Context, crit Criteria) (*rpc.Sub
|
||||||
return rpcSub, nil
|
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.
|
// Message is the RPC representation of a waku message.
|
||||||
type Message struct {
|
type Message struct {
|
||||||
Sig []byte `json:"sig,omitempty"`
|
Sig []byte `json:"sig,omitempty"`
|
||||||
|
|
|
@ -171,8 +171,6 @@ func (api *PublicWakuAPI) BloomFilter() []byte {
|
||||||
return nil
|
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.
|
// NewMessage represents a new waku message that is posted through the RPC.
|
||||||
type NewMessage struct {
|
type NewMessage struct {
|
||||||
SymKeyID string `json:"symKeyID"`
|
SymKeyID string `json:"symKeyID"`
|
||||||
|
@ -376,8 +374,6 @@ func (api *PublicWakuAPI) Messages(ctx context.Context, crit Criteria) (*rpc.Sub
|
||||||
return rpcSub, nil
|
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.
|
// Message is the RPC representation of a waku message.
|
||||||
type Message struct {
|
type Message struct {
|
||||||
Sig []byte `json:"sig,omitempty"`
|
Sig []byte `json:"sig,omitempty"`
|
||||||
|
|
Loading…
Reference in New Issue