Fixing 6 crypto bugs (#3228)

* fixing 6 crypto bugs

* fixing filter stuff

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
This commit is contained in:
James Simmons
2022-11-01 03:21:37 -04:00
committed by GitHub
parent 3d0a032a76
commit ba1068ee47
4 changed files with 6 additions and 8 deletions

View File

@@ -1056,7 +1056,7 @@ class DueDiligenceController(CryptoBaseController):
parser.add_argument(
"--descend",
action="store_false",
action="store_true",
help="Flag to sort in descending order (lowest first)",
dest="descend",
default=False,

View File

@@ -51,8 +51,6 @@ class NFTController(BaseController):
choices["stats"] = {
"--slug": None,
"-s": None,
"--limit": {str(c): {} for c in range(1, 100)},
"-l": "--limit",
}
choices["collections"] = {
"--fp": {},

View File

@@ -1190,7 +1190,7 @@ class OnchainController(BaseController):
parser.add_argument(
"--descend",
action="store_false",
action="store_true",
help="Flag to sort in descending order (lowest first)",
dest="descend",
default=False,
@@ -1343,7 +1343,7 @@ class OnchainController(BaseController):
parser.add_argument(
"--descend",
action="store_false",
action="store_true",
help="Flag to sort in descending order (lowest first)",
dest="descend",
default=False,

View File

@@ -170,7 +170,7 @@ class OverviewController(BaseController):
"-l": "--limit",
"--descend": {},
}
choices["derivates"] = {
choices["derivatives"] = {
"--sort": {c: {} for c in pycoingecko_model.DERIVATIVES_FILTERS},
"-s": "--sort",
"--limit": {str(c): {} for c in range(1, 100)},
@@ -1129,10 +1129,10 @@ class OverviewController(BaseController):
parser.add_argument(
"--descend",
action="store_false",
action="store_true",
help="Flag to sort in descending order (lowest first)",
dest="descend",
default=True,
default=False,
)
ns_parser = self.parse_known_args_and_warn(