Skip to content

Commit 8894455

Browse files
nepetrustyrussell
authored andcommitted
ci: Update elementsd version used for tests
Using `getblockfrompeer` requires a version equal or above 23.0.0 Signed-off-by: Peter Neuroth <[email protected]>
1 parent 6e3ea36 commit 8894455

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ jobs:
212212
timeout-minutes: 120
213213
env:
214214
BITCOIN_VERSION: "26.1"
215-
ELEMENTS_VERSION: 22.0.2
215+
ELEMENTS_VERSION: 23.2.1
216216
RUST_PROFILE: release # Has to match the one in the compile step
217217
PYTEST_OPTS: --timeout=1200 --force-flaky
218218
needs:
@@ -320,7 +320,7 @@ jobs:
320320
timeout-minutes: 120
321321
env:
322322
BITCOIN_VERSION: "26.1"
323-
ELEMENTS_VERSION: 22.0.2
323+
ELEMENTS_VERSION: 23.2.1
324324
RUST_PROFILE: release # Has to match the one in the compile step
325325
CFG: compile-gcc
326326
PYTEST_OPTS: --test-group-random-seed=42 --timeout=1800 --force-flaky
@@ -390,7 +390,7 @@ jobs:
390390
timeout-minutes: 120
391391
env:
392392
BITCOIN_VERSION: "26.1"
393-
ELEMENTS_VERSION: 22.0.2
393+
ELEMENTS_VERSION: 23.2.1
394394
RUST_PROFILE: release
395395
SLOW_MACHINE: 1
396396
TEST_DEBUG: 1

plugins/bcli.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,17 +1004,7 @@ static struct command_result *sendrawtransaction(struct command *cmd,
10041004
return command_param_failed();
10051005

10061006
if (*allowhighfees) {
1007-
if (bitcoind->version >= 190001)
1008-
/* Starting in 19.0.1, second argument is
1009-
* maxfeerate, which when set to 0 means
1010-
* no max feerate.
1011-
*/
10121007
highfeesarg = "0";
1013-
else
1014-
/* in older versions, second arg is allowhighfees,
1015-
* set to true to allow high fees.
1016-
*/
1017-
highfeesarg = "true";
10181008
} else
10191009
highfeesarg = NULL;
10201010

0 commit comments

Comments
 (0)