Fix CI: test_GetThrow for UTXO model, install unzip for inetc
- transaction_tests: AreInputsStandard returns false (not throw) for missing inputs - build-all.yml: install unzip package before extracting inetc plugin Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -166,6 +166,7 @@ jobs:
|
||||
|
||||
- name: Install NSIS inetc plugin
|
||||
run: |
|
||||
pacman -S --noconfirm unzip
|
||||
NSIS_DIR="/mingw64/share/nsis"
|
||||
cd /tmp
|
||||
curl -L -o Inetc.zip "https://nsis.sourceforge.io/mediawiki/images/c/c9/Inetc.zip"
|
||||
|
||||
@@ -152,7 +152,8 @@ BOOST_AUTO_TEST_CASE(test_GetThrow)
|
||||
t1.vout[0].nValue = 90*CENT;
|
||||
t1.vout[0].scriptPubKey << OP_1;
|
||||
|
||||
BOOST_CHECK_THROW(t1.AreInputsStandard(missingInputs), runtime_error);
|
||||
// AreInputsStandard returns false for missing inputs (no longer throws)
|
||||
BOOST_CHECK(!t1.AreInputsStandard(missingInputs));
|
||||
BOOST_CHECK_THROW(t1.GetValueIn(missingInputs), runtime_error);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user