mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-21 00:24:37 +03:00
re-add type=SortKey for click 8 (#13663)
This commit is contained in:
parent
4dfa87c31b
commit
fa72e1e3ad
@ -74,12 +74,14 @@ def get_transaction_cmd(wallet_rpc_port: Optional[int], fingerprint: int, id: in
|
||||
"--sort-by-height",
|
||||
"sort_key",
|
||||
flag_value=SortKey.CONFIRMED_AT_HEIGHT,
|
||||
type=SortKey,
|
||||
help="Sort transactions by height",
|
||||
)
|
||||
@click.option(
|
||||
"--sort-by-relevance",
|
||||
"sort_key",
|
||||
flag_value=SortKey.RELEVANCE,
|
||||
type=SortKey,
|
||||
default=True,
|
||||
help="Sort transactions by {confirmed, height, time}",
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user