@@ -1444,7 +1444,7 @@ fn mempool_db_load_store_replace_tx(#[case] behavior: MempoolCollectionBehavior)
1444
1444
& mut chainstate,
1445
1445
& ConsensusHash ( [ 0x1 ; 20 ] ) ,
1446
1446
& BlockHeaderHash ( [ 0x2 ; 32 ] ) ,
1447
- false ,
1447
+ false , // don't resolve the above chain tip since it doesn't exist
1448
1448
txid,
1449
1449
tx_bytes,
1450
1450
tx_fee,
@@ -1505,7 +1505,7 @@ fn mempool_db_load_store_replace_tx(#[case] behavior: MempoolCollectionBehavior)
1505
1505
& mut chainstate,
1506
1506
& ConsensusHash ( [ 0x1 ; 20 ] ) ,
1507
1507
& BlockHeaderHash ( [ 0x2 ; 32 ] ) ,
1508
- false ,
1508
+ false , // don't resolve the above chain tip since it doesn't exist
1509
1509
txid,
1510
1510
tx_bytes,
1511
1511
tx_fee,
@@ -1569,7 +1569,7 @@ fn mempool_db_load_store_replace_tx(#[case] behavior: MempoolCollectionBehavior)
1569
1569
& mut chainstate,
1570
1570
& ConsensusHash ( [ 0x1 ; 20 ] ) ,
1571
1571
& BlockHeaderHash ( [ 0x2 ; 32 ] ) ,
1572
- false ,
1572
+ false , // don't resolve the above chain tip since it doesn't exist
1573
1573
txid,
1574
1574
tx_bytes,
1575
1575
tx_fee,
@@ -1719,7 +1719,7 @@ fn mempool_db_test_rbf() {
1719
1719
& mut chainstate,
1720
1720
& ConsensusHash ( [ 0x1 ; 20 ] ) ,
1721
1721
& BlockHeaderHash ( [ 0x2 ; 32 ] ) ,
1722
- false ,
1722
+ false , // don't resolve the above chain tip since it doesn't exist
1723
1723
txid,
1724
1724
tx_bytes,
1725
1725
tx_fee,
@@ -1769,7 +1769,7 @@ fn mempool_db_test_rbf() {
1769
1769
& mut chainstate,
1770
1770
& ConsensusHash ( [ 0x1 ; 20 ] ) ,
1771
1771
& BlockHeaderHash ( [ 0x2 ; 32 ] ) ,
1772
- false ,
1772
+ false , // don't resolve the above chain tip since it doesn't exist
1773
1773
txid,
1774
1774
tx_bytes,
1775
1775
tx_fee,
@@ -1852,7 +1852,7 @@ fn test_add_txs_bloom_filter() {
1852
1852
& mut chainstate,
1853
1853
& ConsensusHash ( [ 0x1 + ( block_height as u8 ) ; 20 ] ) ,
1854
1854
& BlockHeaderHash ( [ 0x2 + ( block_height as u8 ) ; 32 ] ) ,
1855
- false ,
1855
+ false , // don't resolve the above chain tip since it doesn't exist
1856
1856
txid,
1857
1857
tx_bytes,
1858
1858
tx_fee,
@@ -1963,7 +1963,7 @@ fn test_txtags() {
1963
1963
& mut chainstate,
1964
1964
& ConsensusHash ( [ 0x1 + ( block_height as u8 ) ; 20 ] ) ,
1965
1965
& BlockHeaderHash ( [ 0x2 + ( block_height as u8 ) ; 32 ] ) ,
1966
- false ,
1966
+ false , // don't resolve the above chain tip since it doesn't exist
1967
1967
txid,
1968
1968
tx_bytes,
1969
1969
tx_fee,
@@ -2057,7 +2057,7 @@ fn test_make_mempool_sync_data() {
2057
2057
& mut chainstate,
2058
2058
& ConsensusHash ( [ 0x1 + ( block_height as u8 ) ; 20 ] ) ,
2059
2059
& BlockHeaderHash ( [ 0x2 + ( block_height as u8 ) ; 32 ] ) ,
2060
- false ,
2060
+ false , // don't resolve the above chain tip since it doesn't exist
2061
2061
txid. clone ( ) ,
2062
2062
tx_bytes,
2063
2063
tx_fee,
@@ -2235,7 +2235,7 @@ fn test_find_next_missing_transactions() {
2235
2235
& mut chainstate,
2236
2236
& ConsensusHash ( [ 0x1 + ( block_height as u8 ) ; 20 ] ) ,
2237
2237
& BlockHeaderHash ( [ 0x2 + ( block_height as u8 ) ; 32 ] ) ,
2238
- false ,
2238
+ false , // don't resolve the above chain tip since it doesn't exist
2239
2239
txid. clone ( ) ,
2240
2240
tx_bytes,
2241
2241
tx_fee,
@@ -2505,7 +2505,7 @@ fn test_drop_and_blacklist_txs_by_time() {
2505
2505
& mut chainstate,
2506
2506
& ConsensusHash ( [ 0x1 + ( block_height as u8 ) ; 20 ] ) ,
2507
2507
& BlockHeaderHash ( [ 0x2 + ( block_height as u8 ) ; 32 ] ) ,
2508
- false ,
2508
+ false , // don't resolve the above chain tip since it doesn't exist
2509
2509
txid. clone ( ) ,
2510
2510
tx_bytes,
2511
2511
tx_fee,
@@ -2625,7 +2625,7 @@ fn test_drop_and_blacklist_txs_by_size() {
2625
2625
& mut chainstate,
2626
2626
& ConsensusHash ( [ 0x1 + ( block_height as u8 ) ; 20 ] ) ,
2627
2627
& BlockHeaderHash ( [ 0x2 + ( block_height as u8 ) ; 32 ] ) ,
2628
- false ,
2628
+ false , // don't resolve the above chain tip since it doesn't exist
2629
2629
txid. clone ( ) ,
2630
2630
tx_bytes,
2631
2631
tx_fee,
0 commit comments