mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-09 23:27:23 +02:00
refactor: Pass CNode& to ProcessMessages and SendMessages
The node is never nullptr. This can be reviewed with the git option: --word-diff-regex=.
This commit is contained in:
@@ -121,7 +121,7 @@ FUZZ_TARGET(process_message, .init = initialize_process_message)
|
||||
more_work = connman.ProcessMessagesOnce(p2p_node);
|
||||
} catch (const std::ios_base::failure&) {
|
||||
}
|
||||
node.peerman->SendMessages(&p2p_node);
|
||||
node.peerman->SendMessages(p2p_node);
|
||||
}
|
||||
node.validation_signals->SyncWithValidationInterfaceQueue();
|
||||
node.connman->StopNodes();
|
||||
|
||||
Reference in New Issue
Block a user