WIP: innerring: Relax container homomorphic hashing check #1628
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ func checkHomomorphicHashing(ns NetworkState, cnr containerSDK.Container) error
|
|||
return fmt.Errorf("could not get setting in contract: %w", err)
|
||||
}
|
||||
|
||||
if cnrSetting := containerSDK.IsHomomorphicHashingDisabled(cnr); netSetting != cnrSetting {
|
||||
if cnrSetting := containerSDK.IsHomomorphicHashingDisabled(cnr); netSetting && !cnrSetting {
|
||||
return fmt.Errorf("network setting: %t, container setting: %t", netSetting, cnrSetting)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue