SecretStore: fixed service contract update

This commit is contained in:
Svyatoslav Nikolsky 2017-11-23 09:33:27 +03:00
parent 498a708df7
commit c296b8ac5d

View File

@ -392,11 +392,11 @@ impl ChainNotify for ServiceContractListener {
return;
}
self.data.contract.update();
if !self.data.contract.is_actual() {
return;
}
self.data.contract.update();
self.process_service_contract_events(
enacted.first().expect("TODO").clone(),
enacted.last().expect("TODO").clone());