mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-25 05:58:42 +01:00
Merged 4.0.9
This commit is contained in:
@@ -60,7 +60,7 @@ class AddressValidator extends TextValidator {
|
||||
case CryptoCurrency.bnb:
|
||||
return [42];
|
||||
case CryptoCurrency.btc:
|
||||
return [33, 34, 42];
|
||||
return [33, 34, 42, 62];
|
||||
case CryptoCurrency.dai:
|
||||
return [42];
|
||||
case CryptoCurrency.dash:
|
||||
|
||||
@@ -4,7 +4,11 @@ class InitialExecutionState extends ExecutionState {}
|
||||
|
||||
class IsExecutingState extends ExecutionState {}
|
||||
|
||||
class ExecutedSuccessfullyState extends ExecutionState {}
|
||||
class ExecutedSuccessfullyState extends ExecutionState {
|
||||
ExecutedSuccessfullyState({this.payload});
|
||||
|
||||
final dynamic payload;
|
||||
}
|
||||
|
||||
class FailureState extends ExecutionState {
|
||||
FailureState(this.error);
|
||||
|
||||
@@ -7,7 +7,7 @@ class MoneroLabelValidator extends TextValidator {
|
||||
MoneroLabelValidator({@required CryptoCurrency type})
|
||||
: super(
|
||||
errorMessage: S.current.error_text_account_name,
|
||||
pattern: '^[a-zA-Z0-9_]{1,15}\$',
|
||||
pattern: '^[a-zA-Z0-9_ ]{1,15}\$',
|
||||
minLength: 1,
|
||||
maxLength: 15);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user