diff --git a/chia/rpc/full_node_rpc_api.py b/chia/rpc/full_node_rpc_api.py index 930ca48ebfc8..586f8531b1b0 100644 --- a/chia/rpc/full_node_rpc_api.py +++ b/chia/rpc/full_node_rpc_api.py @@ -102,9 +102,6 @@ def get_routes(self) -> Dict[str, Endpoint]: "/get_network_space": self.get_network_space, "/get_additions_and_removals": self.get_additions_and_removals, "/get_aggsig_additional_data": self.get_aggsig_additional_data, - # this function is just here for backwards-compatibility. It will probably - # be removed in the future - "/get_initial_freeze_period": self.get_initial_freeze_period, "/get_recent_signage_point_or_eos": self.get_recent_signage_point_or_eos, # Coins "/get_coin_records_by_puzzle_hash": self.get_coin_records_by_puzzle_hash, @@ -157,12 +154,6 @@ async def _state_changed(self, change: str, change_data: Optional[Dict[str, Any] return payloads - # this function is just here for backwards-compatibility. It will probably - # be removed in the future - async def get_initial_freeze_period(self, _: Dict[str, Any]) -> EndpointResult: - # Mon May 03 2021 17:00:00 GMT+0000 - return {"INITIAL_FREEZE_END_TIMESTAMP": 1620061200} - async def get_blockchain_state(self, _: Dict[str, Any]) -> EndpointResult: """ Returns a summary of the node's view of the blockchain. diff --git a/chia/rpc/wallet_rpc_api.py b/chia/rpc/wallet_rpc_api.py index 1ea3dea2ad43..2531965445d7 100644 --- a/chia/rpc/wallet_rpc_api.py +++ b/chia/rpc/wallet_rpc_api.py @@ -170,9 +170,6 @@ def get_routes(self) -> Dict[str, Endpoint]: "/get_timestamp_for_height": self.get_timestamp_for_height, "/set_auto_claim": self.set_auto_claim, "/get_auto_claim": self.get_auto_claim, - # this function is just here for backwards-compatibility. It will probably - # be removed in the future - "/get_initial_freeze_period": self.get_initial_freeze_period, # Wallet management "/get_wallets": self.get_wallets, "/create_new_wallet": self.create_new_wallet, @@ -1220,12 +1217,6 @@ async def get_transaction_count(self, request: Dict[str, Any]) -> EndpointResult "wallet_id": wallet_id, } - # this function is just here for backwards-compatibility. It will probably - # be removed in the future - async def get_initial_freeze_period(self, request: Dict[str, Any]) -> EndpointResult: - # Mon May 03 2021 17:00:00 GMT+0000 - return {"INITIAL_FREEZE_END_TIMESTAMP": 1620061200} - async def get_next_address(self, request: Dict[str, Any]) -> EndpointResult: """ Returns a new address