diff --git a/chia/protocols/protocol_state_machine.py b/chia/protocols/protocol_state_machine.py index 1be6bba9c335..030c5da84d10 100644 --- a/chia/protocols/protocol_state_machine.py +++ b/chia/protocols/protocol_state_machine.py @@ -27,6 +27,7 @@ pmt.request_block: [pmt.respond_block, pmt.reject_block], pmt.request_blocks: [pmt.respond_blocks, pmt.reject_blocks], pmt.request_unfinished_block: [pmt.respond_unfinished_block], + pmt.request_block_header: [pmt.respond_block_header, pmt.reject_header_request], pmt.request_signage_point_or_end_of_sub_slot: [pmt.respond_signage_point, pmt.respond_end_of_sub_slot], pmt.request_compact_vdf: [pmt.respond_compact_vdf], pmt.request_peers: [pmt.respond_peers], diff --git a/chia/wallet/wallet_node_api.py b/chia/wallet/wallet_node_api.py index ec16eef24dc7..ddef660c4e95 100644 --- a/chia/wallet/wallet_node_api.py +++ b/chia/wallet/wallet_node_api.py @@ -50,7 +50,7 @@ async def new_peak_wallet(self, peak: wallet_protocol.NewPeakWallet, peer: WSChi await self.wallet_node.new_peak_queue.new_peak_wallet(peak, peer) @api_request - async def reject_block_header(self, response: wallet_protocol.RejectHeaderRequest): + async def reject_header_request(self, response: wallet_protocol.RejectHeaderRequest): """ The full node has rejected our request for a header. """