From cf1e5a789d8ff5e577247d501f7e3b31aabd2f74 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Wed, 11 May 2022 18:26:02 +0100 Subject: [PATCH] NFT0: Make the wallet ID required for transferring an NFT. --- chia/cmds/wallet.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chia/cmds/wallet.py b/chia/cmds/wallet.py index 48fbd0f2a8..120cd90ebe 100644 --- a/chia/cmds/wallet.py +++ b/chia/cmds/wallet.py @@ -549,11 +549,13 @@ def nft_add_uri_cmd( default=None, ) @click.option("-f", "--fingerprint", help="Set the fingerprint to specify which wallet to use", type=int) +@click.option("-i", "--id", help="Id of the NFT wallet to use", type=int, required=True) @click.option("-ni", "--nft-coin-id", help="Id of the NFT coin to transfer", type=str, required=True) @click.option("-aa", "--artist-address", help="Target artist's wallet address", type=str, required=True) def nft_transfer_cmd( wallet_rpc_port: Optional[int], fingerprint: int, + id: int, nft_coin_id: str, artist_address: str, ) -> None: