nixos: rippled: fix type
The old state is clearly a bug.
This commit is contained in:
parent
234ba7446c
commit
cefbe69105
@ -175,7 +175,7 @@ let
|
|||||||
|
|
||||||
onlineDelete = mkOption {
|
onlineDelete = mkOption {
|
||||||
description = "Enable automatic purging of older ledger information.";
|
description = "Enable automatic purging of older ledger information.";
|
||||||
type = types.addCheck (types.nullOr types.int) (v: v > 256);
|
type = types.nullOr (types.addCheck types.int (v: v > 256));
|
||||||
default = cfg.ledgerHistory;
|
default = cfg.ledgerHistory;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user