email registration updated

This commit is contained in:
Stephan D
2026-02-17 10:20:39 +01:00
parent 11d4b9a608
commit 9bdb667b08
4 changed files with 15 additions and 20 deletions

View File

@@ -338,10 +338,8 @@ func (a *AccountAPI) openOrgLedgerAccount(ctx context.Context, org *model.Organi
return merrors.Internal("chain gateway default asset is not configured")
}
currency := strings.ToUpper(strings.TrimSpace(a.chainAsset.TokenSymbol))
if currency == "" {
return merrors.Internal("chain gateway default asset token symbol is not configured")
}
// TODO: remove hardcode
currency := "RUB"
var describable *describablev1.Describable
name := strings.TrimSpace(sr.LedgerWallet.Name)