From 40d26cb868298aa8ceba9176ecf19db13200dd3a Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 1 Sep 2021 22:46:31 -0300 Subject: [PATCH] fix error msg to match Go msg --- lbry/error/README.md | 2 +- lbry/error/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/error/README.md b/lbry/error/README.md index b8684973d..ac8c689fa 100644 --- a/lbry/error/README.md +++ b/lbry/error/README.md @@ -57,7 +57,7 @@ Code | Name | Message 420 | KeyFeeAboveMaxAllowed | {message} 421 | InvalidPassword | Password is invalid. 422 | IncompatibleWalletServer | '{server}:{port}' has an incompatibly old version. -423 | TooManyClaimSearchParameters | {key} cant be set for more than {limit} items. +423 | TooManyClaimSearchParameters | {key} cant have more than {limit} items. 431 | ServerPaymentInvalidAddress | Invalid address from wallet server: '{address}' - skipping payment round. 432 | ServerPaymentWalletLocked | Cannot spend funds with locked wallet, skipping payment round. 433 | ServerPaymentFeeAboveMaxAllowed | Daily server fee of {daily_fee} exceeds maximum configured of {max_fee} LBC. diff --git a/lbry/error/__init__.py b/lbry/error/__init__.py index 986e4e95a..5a26da4a0 100644 --- a/lbry/error/__init__.py +++ b/lbry/error/__init__.py @@ -247,7 +247,7 @@ class TooManyClaimSearchParametersError(WalletError): def __init__(self, key, limit): self.key = key self.limit = limit - super().__init__(f"{key} cant be set for more than {limit} items.") + super().__init__(f"{key} cant have more than {limit} items.") class ServerPaymentInvalidAddressError(WalletError):