mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2024-12-22 19:50:34 +00:00
Shorten amount-bound error message
This commit is contained in:
parent
8bfdd38aba
commit
77891acbe2
@ -62,7 +62,7 @@ class Credential:
|
||||
@property
|
||||
def deposit_message(self) -> DepositMessage:
|
||||
if not MIN_DEPOSIT_AMOUNT <= self.amount <= MAX_DEPOSIT_AMOUNT:
|
||||
raise ValidationError(f"{self.amount / ETH2GWEI} ETH deposits are not within the expected bounds of this cli.")
|
||||
raise ValidationError(f"{self.amount / ETH2GWEI} ETH deposits are not within the bounds of this cli.")
|
||||
return DepositMessage(
|
||||
pubkey=self.signing_pk,
|
||||
withdrawal_credentials=self.withdrawal_credentials,
|
||||
|
Loading…
Reference in New Issue
Block a user