WIP: innerring: Relax container homomorphic hashing check #1628

Draft
fyrchik wants to merge 1 commit from fyrchik/frostfs-node:fix-homorphic-check into master
Showing only changes of commit b8659dfd53 - Show all commits

View file

@ -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)
}