mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 10:05:29 -05:00
Removed dead code (#5244)
This commit is contained in:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user