diff --git a/chia/cmds/keys_funcs.py b/chia/cmds/keys_funcs.py index 5905b7aa289b..91a1731eccf2 100644 --- a/chia/cmds/keys_funcs.py +++ b/chia/cmds/keys_funcs.py @@ -82,10 +82,6 @@ def show_all_keys(show_mnemonic: bool): master_sk_to_farmer_sk(sk).get_g1(), ) print("Pool public key (m/12381/8444/1/0):", master_sk_to_pool_sk(sk).get_g1()) - print( - "First wallet key (m/12381/8444/2/0):", - master_sk_to_wallet_sk(sk, uint32(0)).get_g1(), - ) print( "First wallet address:", encode_puzzle_hash(create_puzzlehash_for_pk(master_sk_to_wallet_sk(sk, uint32(0)).get_g1()), prefix), @@ -93,6 +89,10 @@ def show_all_keys(show_mnemonic: bool): assert seed is not None if show_mnemonic: print("Master private key (m):", bytes(sk).hex()) + print( + "First wallet secret key (m/12381/8444/2/0):", + master_sk_to_wallet_sk(sk, uint32(0)).get_g1(), + ) mnemonic = bytes_to_mnemonic(seed) print(" Mnemonic seed (24 secret words):") print(mnemonic)