mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-27 01:30:30 -04:00
Set the type correctly for click (#13644)
This commit is contained in:
@@ -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}",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user