SecretStore: fixed service contract update
This commit is contained in:
parent
498a708df7
commit
c296b8ac5d
@ -392,11 +392,11 @@ impl ChainNotify for ServiceContractListener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self.data.contract.update();
|
||||||
if !self.data.contract.is_actual() {
|
if !self.data.contract.is_actual() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
self.data.contract.update();
|
|
||||||
self.process_service_contract_events(
|
self.process_service_contract_events(
|
||||||
enacted.first().expect("TODO").clone(),
|
enacted.first().expect("TODO").clone(),
|
||||||
enacted.last().expect("TODO").clone());
|
enacted.last().expect("TODO").clone());
|
||||||
|
Loading…
Reference in New Issue
Block a user