feat(protocol): add gateway transport authority contracts
This commit is contained in:
@@ -50,6 +50,7 @@ func classifyDatagram(_ encoded: String) -> String {
|
||||
case 1: limit = 1024
|
||||
case 2: limit = 2048
|
||||
case 3: limit = 65515
|
||||
case 10, 11, 12: limit = 1179
|
||||
default: return "invalid:unknown_channel"
|
||||
}
|
||||
guard raw[4] == 0 else { return "invalid:flags" }
|
||||
|
||||
Reference in New Issue
Block a user