Remove unnecessary assertion from create_account view

This commit is contained in:
silverpill 2022-09-09 10:28:24 +00:00
parent e7f452657a
commit 82ef4e054a

View file

@ -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