Closed iupii closed 5 years ago
ron-storage/lib/RON/Storage/FS.hs, line 154 at r1 (raw file):
No need to run the generator if there is a mac address: ``` hReplicaId <- do mMacAddress <- getMacAddress case mMacAddress of Just mac -> pure mac ```
Maybe without do?
replicaId <- case macAddress of
Just macAddress' -> pure macAddress'
Nothing -> fst . random <$> newTFGen
Great start! Thanks!
This change is