Skip to content

Commit be18440

Browse files
committed
nix svc: drop LDMB specific buggy assertion
1 parent 94a7798 commit be18440

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

nix/nixos/cardano-node-service.nix

-5
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,6 @@ in {
715715
config = mkIf cfg.enable ( let
716716
stateDirBase = "/var/lib/";
717717
runDirBase = "/run/";
718-
lmdbPaths = filter (x: x != null) (map (e: lmdbDatabasePath e) cfg.instances);
719718
genInstanceConf = f: listToAttrs (if cfg.instances > 1
720719
then genList (i: let n = "cardano-node-${toString i}"; in nameValuePair n (f n i)) cfg.instances
721720
else [ (nameValuePair "cardano-node" (f "cardano-node" 0)) ]); in lib.mkMerge [
@@ -817,10 +816,6 @@ in {
817816
assertion = !(cfg.systemdSocketActivation && cfg.useNewTopology);
818817
message = "Systemd socket activation cannot be used with p2p topology due to a systemd socket re-use issue.";
819818
}
820-
{
821-
assertion = (length lmdPaths) == (length (lib.lists.unique lmdbPaths));
822-
message = "When configuring multiple LMDB enabled nodes on one instance, lmdbDatabasePath must be unique.";
823-
}
824819
];
825820
}
826821
]);

0 commit comments

Comments
 (0)