fix error msg to match Go msg
This commit is contained in:
parent
b64aa51c0c
commit
40d26cb868
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ Code | Name | Message
|
||||||
420 | KeyFeeAboveMaxAllowed | {message}
|
420 | KeyFeeAboveMaxAllowed | {message}
|
||||||
421 | InvalidPassword | Password is invalid.
|
421 | InvalidPassword | Password is invalid.
|
||||||
422 | IncompatibleWalletServer | '{server}:{port}' has an incompatibly old version.
|
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.
|
431 | ServerPaymentInvalidAddress | Invalid address from wallet server: '{address}' - skipping payment round.
|
||||||
432 | ServerPaymentWalletLocked | Cannot spend funds with locked wallet, 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.
|
433 | ServerPaymentFeeAboveMaxAllowed | Daily server fee of {daily_fee} exceeds maximum configured of {max_fee} LBC.
|
||||||
|
|
|
@ -247,7 +247,7 @@ class TooManyClaimSearchParametersError(WalletError):
|
||||||
def __init__(self, key, limit):
|
def __init__(self, key, limit):
|
||||||
self.key = key
|
self.key = key
|
||||||
self.limit = limit
|
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):
|
class ServerPaymentInvalidAddressError(WalletError):
|
||||||
|
|
Loading…
Reference in a new issue