tests/regtest: disable incompatible validatepegin
for liquidd
Otherwise liquidd startup fails. This bug was not covered by our tests, because we're not combining `regtest` with `secure-node`. But nixbitcoin.org does, which should suffice for now.
This commit is contained in:
parent
c30fe1919b
commit
b3e868d0af
@ -234,6 +234,12 @@ in {
|
||||
inherit options;
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
assertions = [
|
||||
{ assertion = bitcoind.regtest -> cfg.validatepegin != true;
|
||||
message = "liquidd: `validatepegin` is incompatible with regtest.";
|
||||
}
|
||||
];
|
||||
|
||||
services.bitcoind.enable = true;
|
||||
|
||||
environment.systemPackages = [
|
||||
|
@ -248,6 +248,9 @@ let
|
||||
services.lightning-pool.extraConfig = ''
|
||||
auctionserver=localhost
|
||||
'';
|
||||
|
||||
# `validatepegin` is incompatible with regtest
|
||||
services.liquidd.validatepegin = mkForce false;
|
||||
};
|
||||
|
||||
## Examples / debug helper
|
||||
|
Loading…
Reference in New Issue
Block a user