Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ci/test/00_setup_env_native_payjoin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export LC_ALL=C.UTF-8

export CONTAINER_NAME=ci_native_payjoin
export CI_IMAGE_NAME_TAG="mirror.gcr.io/rust:1.85.1-bookworm"
export APT_LLVM_V="17"
export PACKAGES="clang-${APT_LLVM_V} llvm-${APT_LLVM_V} perl"
export DEP_OPTS="DEBUG=1 PAYJOIN=1 PAYJOIN_TESTS=1 NO_QT=1 NO_IPC=1 NO_ZMQ=1 NO_USDT=1 CC=clang-${APT_LLVM_V} CXX=clang++-${APT_LLVM_V}"
export APT_LLVM_V="21"
export PACKAGES="clang-${APT_LLVM_V} llvm-${APT_LLVM_V} libc++-${APT_LLVM_V}-dev libc++abi-${APT_LLVM_V}-dev perl"
export DEP_OPTS="DEBUG=1 PAYJOIN=1 PAYJOIN_TESTS=1 NO_QT=1 NO_IPC=1 NO_ZMQ=1 NO_USDT=1 CC=clang-${APT_LLVM_V} CXX='clang++-${APT_LLVM_V} -stdlib=libc++'"
export GOAL="all"
export MAKEJOBS="-j4"
export CARGO_BUILD_JOBS=4
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/test/payjoin_integration_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ void CheckFinalProposalFeeRate(IntegrationFixture& fixture, bool sufficient)
CMutableTransaction funding;
funding.vin.emplace_back(COutPoint{fixture.m_receiver_coin->GetHash(), 0});
funding.vout.emplace_back(fixture.m_receiver_coin->vout[0].nValue - 1000, receiver_script);
PartiallySignedTransaction funding_psbt{funding};
PartiallySignedTransaction funding_psbt{funding, /*psbt_version=*/0};
bool complete{false};
{
LOCK(fixture.m_receiver->cs_wallet);
Expand Down
5 changes: 4 additions & 1 deletion test/functional/wallet_payjoin.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ def set_test_params(self):
self.num_nodes = 1
self.setup_clean_chain = True
self.wallet_names = []
self.extra_args = [["-fallbackfee=0.00001", "-addresstype=bech32", "-changetype=bech32", "-deprecatedrpc=bip125"]]
self.extra_args = [[
"-fallbackfee=0.00001", "-addresstype=bech32", "-changetype=bech32",
"-deprecatedrpc=bip125", "-deprecatedrpc=iswatchonly",
]]

def add_options(self, parser):
parser.add_argument("--payjoin-cli", help="Path to the pinned upstream payjoin-cli executable")
Expand Down
5 changes: 4 additions & 1 deletion test/lint/lint-shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ def get_shebang_files():
reg = re.compile(rb"^#!.*\b(?:sh|bash)\b")
shebang_files = []

for file in get_files(["git", "ls-files"]):
for entry in get_files(["git", "ls-files", "--stage"]):
metadata, file = entry.split("\t", 1)
Comment thread
ValeraFinebits marked this conversation as resolved.
Resolved
if metadata.split()[0] == "160000":
continue
with open(file, "rb") as script:
if reg.match(script.readline()):
shebang_files.append(file)
Comment thread
ValeraFinebits marked this conversation as resolved.
Resolved
Expand Down
Loading