OSDN Git Service

Add docs
[bytom/vapor.git] / consensus / consensus / dpos / vote_type.go
index 1dec1fb..a760f59 100644 (file)
@@ -19,8 +19,8 @@ type TypedData interface {
 }
 
 type DposMsg struct {
-       Type vm.Op
-       Data []byte
+       Type vm.Op  `json:"type"`
+       Data []byte `json:"data"`
 }
 
 // DELEGATE_IDS PUBKEY SIG(block.time)