Fix: app list as operator
This commit is contained in:
parent
ef629dff88
commit
beb56f5a9c
@ -1322,7 +1322,7 @@ impl BrainData {
|
||||
pub fn find_app_contracts_by_operator(&self, wallet: &str) -> Vec<AppContract> {
|
||||
debug!("Searching contracts for operator {wallet}");
|
||||
let nodes = match self.operators.get(wallet) {
|
||||
Some(op) => op.vm_nodes.clone(),
|
||||
Some(op) => op.app_nodes.clone(),
|
||||
None => return Vec::new(),
|
||||
};
|
||||
let contracts: Vec<AppContract> = self
|
||||
|
@ -722,7 +722,7 @@ impl BrainAppDaemon for BrainAppDaemonMock {
|
||||
Some(detee_shared::app_proto::daemon_message_app::Msg::AppNodeResources(
|
||||
node_resource,
|
||||
)) => self.data.submit_app_node_resources(node_resource),
|
||||
_ => {
|
||||
None => {
|
||||
dbg!("None");
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user