mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
refactor: update MAX_DISCONNECTED_TX_POOL from kb to bytes
This commit is contained in:
@@ -579,7 +579,7 @@ BOOST_FIXTURE_TEST_CASE(chainstatemanager_snapshot_init, SnapshotTestSetup)
|
||||
// it will initialize instead of attempting to complete validation.
|
||||
//
|
||||
// Note that this is not a realistic use of DisconnectTip().
|
||||
DisconnectedBlockTransactions unused_pool{MAX_DISCONNECTED_TX_POOL_SIZE * 1000};
|
||||
DisconnectedBlockTransactions unused_pool{MAX_DISCONNECTED_TX_POOL_BYTES};
|
||||
BlockValidationState unused_state;
|
||||
{
|
||||
LOCK2(::cs_main, bg_chainstate.MempoolMutex());
|
||||
|
||||
Reference in New Issue
Block a user