Fix passing configuration as argument to doConsensus.