ci: Update elementsd version used for tests

Using `getblockfrompeer` requires a version equal or above 23.0.0

Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
This commit is contained in:
Peter Neuroth 2024-04-22 17:49:07 +02:00 committed by Rusty Russell
parent 6e3ea36976
commit 8894455c02
2 changed files with 3 additions and 13 deletions

View file

@ -212,7 +212,7 @@ jobs:
timeout-minutes: 120
env:
BITCOIN_VERSION: "26.1"
ELEMENTS_VERSION: 22.0.2
ELEMENTS_VERSION: 23.2.1
RUST_PROFILE: release # Has to match the one in the compile step
PYTEST_OPTS: --timeout=1200 --force-flaky
needs:
@ -320,7 +320,7 @@ jobs:
timeout-minutes: 120
env:
BITCOIN_VERSION: "26.1"
ELEMENTS_VERSION: 22.0.2
ELEMENTS_VERSION: 23.2.1
RUST_PROFILE: release # Has to match the one in the compile step
CFG: compile-gcc
PYTEST_OPTS: --test-group-random-seed=42 --timeout=1800 --force-flaky
@ -390,7 +390,7 @@ jobs:
timeout-minutes: 120
env:
BITCOIN_VERSION: "26.1"
ELEMENTS_VERSION: 22.0.2
ELEMENTS_VERSION: 23.2.1
RUST_PROFILE: release
SLOW_MACHINE: 1
TEST_DEBUG: 1

View file

@ -1004,17 +1004,7 @@ static struct command_result *sendrawtransaction(struct command *cmd,
return command_param_failed();
if (*allowhighfees) {
if (bitcoind->version >= 190001)
/* Starting in 19.0.1, second argument is
* maxfeerate, which when set to 0 means
* no max feerate.
*/
highfeesarg = "0";
else
/* in older versions, second arg is allowhighfees,
* set to true to allow high fees.
*/
highfeesarg = "true";
} else
highfeesarg = NULL;