mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 10:05:29 -05:00
[LABS-160] Fix bulk minting endpoint to work properly on testnet (#20254)
Fix bulk minting endpoint to work properly on testnet
This commit is contained in:
@@ -3325,7 +3325,7 @@ class WalletRpcApi:
|
||||
metadata_list.append(metadata_dict)
|
||||
target_list = [decode_puzzle_hash(target) for target in request.target_list]
|
||||
if request.xch_change_target is not None:
|
||||
if request.xch_change_target.startswith("xch"):
|
||||
if request.xch_change_target.startswith(AddressType.XCH.hrp(self.service.config)):
|
||||
xch_change_ph = decode_puzzle_hash(request.xch_change_target)
|
||||
else:
|
||||
xch_change_ph = bytes32.from_hexstr(request.xch_change_target)
|
||||
|
||||
Reference in New Issue
Block a user