mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 06:57:58 +00:00
Don't announce blocks in sync_to_tip_when_we_sync_together_with_multiple_peers (#12783)
* Fix syncing test * cargo fmt * Fix test
This commit is contained in:
@@ -428,8 +428,9 @@ where
|
||||
at: BlockId<Block>,
|
||||
count: usize,
|
||||
with_tx: bool,
|
||||
announce_block: bool,
|
||||
) -> H256 {
|
||||
self.generate_tx_blocks_at(at, count, with_tx, false, false, true)
|
||||
self.generate_tx_blocks_at(at, count, with_tx, false, false, announce_block)
|
||||
}
|
||||
|
||||
/// Push blocks to the peer (simplified: with or without a TX) starting from
|
||||
|
||||
Reference in New Issue
Block a user