up to q
This commit is contained in:
@@ -14,6 +14,10 @@ type Message struct {
|
||||
AssetID string
|
||||
}
|
||||
|
||||
func (m Message) Empty() bool {
|
||||
return m == (Message{})
|
||||
}
|
||||
|
||||
func (m Message) Serialize() []byte {
|
||||
b, err := json.Marshal(m)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user