use correct ids in test data

This commit is contained in:
geeksville 2020-02-17 13:46:13 -08:00
parent f18ac28dc0
commit 969f6992bf
2 changed files with 4 additions and 2 deletions

View file

@ -45,4 +45,6 @@ object NodeDB {
/// A map from nodeid to to nodeinfo
val nodes = mutableStateOf(testNodes.map { it.user!!.id to it }.toMap())
val ourNodeInfo get() = nodes.value[myId.value!!] ?: error("our node not found")
}