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:
Erik Arvstedt 2021-11-02 15:15:29 +01:00
parent c30fe1919b
commit b3e868d0af
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 9 additions and 0 deletions

View File

@ -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 = [

View File

@ -248,6 +248,9 @@ let
services.lightning-pool.extraConfig = ''
auctionserver=localhost
'';
# `validatepegin` is incompatible with regtest
services.liquidd.validatepegin = mkForce false;
};
## Examples / debug helper