Remove unnecessary assertion from create_account view
This commit is contained in:
parent
e7f452657a
commit
82ef4e054a
1 changed files with 0 additions and 2 deletions
|
@ -131,8 +131,6 @@ pub async fn create_account(
|
||||||
if !is_allowed {
|
if !is_allowed {
|
||||||
return Err(ValidationError("not allowed to sign up").into());
|
return Err(ValidationError("not allowed to sign up").into());
|
||||||
};
|
};
|
||||||
} else {
|
|
||||||
assert!(config.blockchain().is_none());
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Generate RSA private key for actor
|
// Generate RSA private key for actor
|
||||||
|
|
Loading…
Reference in a new issue