Removed dead code (#5244)

This commit is contained in:
ChiaMineJP
2021-05-24 11:55:19 -07:00
committed by GitHub
parent 78f73b3d55
commit bc439fea7c
-2
View File
@@ -914,8 +914,6 @@ class WalletRpcApi:
wallet_id = uint32(request["wallet_id"])
wallet: RLWallet = self.service.wallet_state_manager.wallets[wallet_id]
puzzle_hash = wallet.rl_get_aggregation_puzzlehash(wallet.rl_info.rl_puzzle_hash)
request["wallet_id"] = 1
request["puzzle_hash"] = puzzle_hash
async with self.service.wallet_state_manager.lock:
await wallet.rl_add_funds(request["amount"], puzzle_hash, request["fee"])
return {"status": "SUCCESS"}