Closed hai-ko closed 5 years ago
Moreover, if getDockerSha
is returning the hash value of the docker, why are we hashing again here?
sha256(bytes(nodeControlDb.getDockerSha(_targetValidator)))
@danzipie I also see no reason why we need to hash the sha again. I'll ask Jonas if there is a reason for this.
other than that, it's LGTM
@hai-ko please update this PR if it still can be optimized
closes #50