fix conflict with imported function
This commit is contained in:
parent
27457db5c3
commit
78b12dc411
2 changed files with 4 additions and 4 deletions
|
@ -63,7 +63,7 @@ Code | Name | 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 have more than {limit} items.
|
423 | TooManyClaimSearchParameters | {key} cant have more than {limit} items.
|
||||||
424 | AlreadyPurchased | You already have a purchase for claim_id '{claim_id}'. Use --allow-duplicate-purchase flag to override.
|
424 | AlreadyPurchased | You already have a purchase for claim_id '{claim_id_hex}'. Use --allow-duplicate-purchase flag to override.
|
||||||
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.
|
||||||
|
|
|
@ -292,9 +292,9 @@ class AlreadyPurchasedError(WalletError):
|
||||||
allow-duplicate-purchase flag to override.
|
allow-duplicate-purchase flag to override.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, claim_id):
|
def __init__(self, claim_id_hex):
|
||||||
self.claim_id = claim_id
|
self.claim_id_hex = claim_id_hex
|
||||||
super().__init__(f"You already have a purchase for claim_id '{claim_id}'. Use")
|
super().__init__(f"You already have a purchase for claim_id '{claim_id_hex}'. Use")
|
||||||
|
|
||||||
|
|
||||||
class ServerPaymentInvalidAddressError(WalletError):
|
class ServerPaymentInvalidAddressError(WalletError):
|
||||||
|
|
Loading…
Reference in a new issue