diff --git a/chia/rpc/wallet_rpc_api.py b/chia/rpc/wallet_rpc_api.py index 46be13bbea73..2fe309f5aa4b 100644 --- a/chia/rpc/wallet_rpc_api.py +++ b/chia/rpc/wallet_rpc_api.py @@ -4183,17 +4183,9 @@ async def dl_update_multiple( extra_conditions=extra_conditions, ) tx_records.extend(records) - # Now that we have all the txs, we need to aggregate them all into just one spend - modified_txs: List[TransactionRecord] = [] - aggregate_spend = SpendBundle([], G2Element()) - for tx in tx_records: - if tx.spend_bundle is not None: - aggregate_spend = SpendBundle.aggregate([aggregate_spend, tx.spend_bundle]) - modified_txs.append(dataclasses.replace(tx, spend_bundle=None)) - modified_txs[0] = dataclasses.replace(modified_txs[0], spend_bundle=aggregate_spend) + return { - "tx_records": [rec.to_json_dict_convenience(self.service.config) for rec in modified_txs], - "transactions": [rec.to_json_dict_convenience(self.service.config) for rec in modified_txs], + "transactions": [rec.to_json_dict_convenience(self.service.config) for rec in tx_records], } async def dl_history(self, request: Dict[str, Any]) -> EndpointResult: diff --git a/chia/rpc/wallet_rpc_client.py b/chia/rpc/wallet_rpc_client.py index 71e8a62d9e96..369a5d18560a 100644 --- a/chia/rpc/wallet_rpc_client.py +++ b/chia/rpc/wallet_rpc_client.py @@ -1168,7 +1168,7 @@ async def dl_update_multiple( **timelock_info.to_json_dict(), } response = await self.fetch("dl_update_multiple", request) - return [TransactionRecord.from_json_dict_convenience(tx) for tx in response["tx_records"]] + return [TransactionRecord.from_json_dict_convenience(tx) for tx in response["transactions"]] async def dl_history( self,