@@ -36,7 +36,7 @@ pub fn test_sync_local_chain() -> anyhow::Result<()> {
36
36
} ;
37
37
38
38
// See if the emitter outputs the right blocks.
39
- println ! ( "first sync:" ) ;
39
+
40
40
while let Some ( emission) = emitter. next_block ( ) ? {
41
41
let height = emission. block_height ( ) ;
42
42
let hash = emission. block_hash ( ) ;
@@ -76,7 +76,7 @@ pub fn test_sync_local_chain() -> anyhow::Result<()> {
76
76
. collect :: < Vec < _ > > ( ) ;
77
77
78
78
// See if the emitter outputs the right blocks.
79
- println ! ( "after reorg:" ) ;
79
+
80
80
let mut exp_height = exp_hashes. len ( ) - reorged_blocks. len ( ) ;
81
81
while let Some ( emission) = emitter. next_block ( ) ? {
82
82
let height = emission. block_height ( ) ;
@@ -132,7 +132,6 @@ pub fn test_sync_local_chain() -> anyhow::Result<()> {
132
132
fn test_into_tx_graph ( ) -> anyhow:: Result < ( ) > {
133
133
let env = TestEnv :: new ( ) ?;
134
134
135
- println ! ( "getting new addresses!" ) ;
136
135
let addr_0 = env
137
136
. rpc_client ( )
138
137
. get_new_address ( None , None ) ?
@@ -145,11 +144,8 @@ fn test_into_tx_graph() -> anyhow::Result<()> {
145
144
. rpc_client ( )
146
145
. get_new_address ( None , None ) ?
147
146
. assume_checked ( ) ;
148
- println ! ( "got new addresses!" ) ;
149
147
150
- println ! ( "mining block!" ) ;
151
148
env. mine_blocks ( 101 , None ) ?;
152
- println ! ( "mined blocks!" ) ;
153
149
154
150
let ( mut chain, _) = LocalChain :: from_genesis_hash ( env. rpc_client ( ) . get_block_hash ( 0 ) ?) ;
155
151
let mut indexed_tx_graph = IndexedTxGraph :: < BlockId , _ > :: new ( {
@@ -609,7 +605,6 @@ fn mempool_during_reorg() -> anyhow::Result<()> {
609
605
// perform reorgs at different heights, these reorgs will not confirm transactions in the
610
606
// mempool
611
607
for reorg_count in 1 ..TIP_DIFF {
612
- println ! ( "REORG COUNT: {}" , reorg_count) ;
613
608
env. reorg_empty_blocks ( reorg_count) ?;
614
609
615
610
// This is a map of mempool txids to tip height where the tx was introduced to the mempool
@@ -627,7 +622,6 @@ fn mempool_during_reorg() -> anyhow::Result<()> {
627
622
// `next_header` emits the replacement block of the reorg
628
623
if let Some ( emission) = emitter. next_header ( ) ? {
629
624
let height = emission. block_height ( ) ;
630
- println ! ( "\t - replacement height: {}" , height) ;
631
625
632
626
// the mempool emission (that follows the first block emission after reorg) should only
633
627
// include mempool txs introduced at reorg height or greater
0 commit comments