Skip to content

Commit

Permalink
Fix method name (#10500)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariano54 authored Mar 1, 2022
1 parent 695d9f7 commit 90ebd28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions chia/protocols/protocol_state_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
2 changes: 1 addition & 1 deletion chia/wallet/wallet_node_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down

0 comments on commit 90ebd28

Please sign in to comment.