accounts in protobuf

This commit is contained in:
Darien Raymond committed 2016-09-18 00:41:21 +02:00
1 parent 3423adaea4
commit d08cba000f
40 files changed
+790 -224

No files matched your search

+1 -1
View File
@@ -139,7 +139,7 @@ func (this *CommandSwitchAccountFactory) Unmarshal(data []byte) (interface{}, er
if len(data) < levelStart+1 {
return nil, transport.ErrCorruptedPacket
}
cmd.Level = protocol.UserLevel(data[levelStart])
cmd.Level = uint32(data[levelStart])
timeStart := levelStart + 1
if len(data) < timeStart {
return nil, transport.ErrCorruptedPacket