From 440eedeb97b0fc103d54a1f2c19140a614ae8e28 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Tue, 14 Jun 2022 18:39:52 +0100 Subject: [PATCH] NFT Owner pubkey is no longer a thing. --- chia/cmds/wallet_funcs.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/chia/cmds/wallet_funcs.py b/chia/cmds/wallet_funcs.py index 81d849b0db..d1a51a671f 100644 --- a/chia/cmds/wallet_funcs.py +++ b/chia/cmds/wallet_funcs.py @@ -778,10 +778,6 @@ async def list_nfts(args: Dict, wallet_client: WalletRpcClient, fingerprint: int for n in nft_list: nft = NFTInfo.from_json_dict(n) - if nft.owner_pubkey is None: - owner_pubkey = None - else: - owner_pubkey = nft.owner_pubkey.hex() print() print(f"{'NFT identifier:'.ljust(26)} {encode_puzzle_hash(nft.launcher_id, NFT_HRP)}") print(f"{'Launcher coin ID:'.ljust(26)} {nft.launcher_id}") @@ -789,7 +785,6 @@ async def list_nfts(args: Dict, wallet_client: WalletRpcClient, fingerprint: int print(f"{'Current NFT coin ID:'.ljust(26)} {nft.nft_coin_id}") print(f"{'On-chain data/info:'.ljust(26)} {nft.chain_info}") print(f"{'Owner DID:'.ljust(26)} {encode_puzzle_hash(nft.owner_did, DID_HRP)}") - print(f"{'Owner pubkey:'.ljust(26)} {owner_pubkey}") print(f"{'Royalty percentage:'.ljust(26)} {nft.royalty_percentage}") print(f"{'Royalty puzhash:'.ljust(26)} {nft.royalty_puzzle_hash}") print(f"{'NFT content hash:'.ljust(26)} {nft.data_hash.hex()}")