Use whatever channel the node info comes in on

This commit is contained in:
Garth Vander Houwen 2023-03-22 10:16:20 -07:00
parent 147721dfdf
commit 0a0f7f01cb

View file

@ -251,7 +251,7 @@ func nodeInfoPacket (nodeInfo: NodeInfo, channel: UInt32, context: NSManagedObje
let newNode = NodeInfoEntity(context: context)
newNode.id = Int64(nodeInfo.num)
newNode.num = Int64(nodeInfo.num)
newNode.channel = 0//Int32(channel)
newNode.channel = Int32(channel)
if nodeInfo.hasDeviceMetrics {
let telemetry = TelemetryEntity(context: context)