v30.3-roots.1 · Commit 3: [PATCH 03/68] feat(policy): preserve Roots relay and network controls on Core 30.3
src/test/txvalidationcache_tests.cpp
Before: src/test/txvalidationcache_tests.cpp · After: src/test/txvalidationcache_tests.cpp
File metadata
index af36a9569315bd3ab0e2f362b47477941bb703e1..d22b815fcd68a36aa8d0b547002b24c767e206e5 100644
Download original patch · Release notes
Diff rows 1–8 of 8. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
src/test/txvalidationcache_tests.cpp
CHANGED
|
@@ -54,7 +54,7 @@ BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, Dersig100Setup)
|
|
|
54
54
|
spends[i].vin[0].prevout.n = 0;
|
|
55
55
|
spends[i].vout.resize(1);
|
|
56
56
|
spends[i].vout[0].nValue = 11*CENT;
|
|
57
|
-
spends[i].vout[0].scriptPubKey = scriptPubKey;
|
|
57
|
+
spends[i].vout[0].scriptPubKey = GetScriptForDestination(PKHash(coinbaseKey.GetPubKey()));
|
|
58
58
|
|
|
59
59
|
// Sign:
|
|
60
60
|
std::vector<unsigned char> vchSig;
|