nixos: rippled: fix type
The old state is clearly a bug.
This commit is contained in:
parent
234ba7446c
commit
cefbe69105
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ let
|
|||
|
||||
onlineDelete = mkOption {
|
||||
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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue