Skip to content

Commit

Permalink
Merge pull request #1030 from Portkey-Wallet/feature/cancle-email-reg…
Browse files Browse the repository at this point in the history
…ister

Support etransfer new deposit fee
  • Loading branch information
becket01 authored Jan 15, 2025
2 parents f662bd4 + 73595bf commit bea8c28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ public class DepositInfoDto
public string DepositAddress { get; set; }
public string MinAmount { get; set; }
public string MinAmountUsd { get; set; }
public string ServiceFee { get; set; }
public string ServiceFeeUsd { get; set; }
public string CurrentThreshold { get; set; }
public List<string> ExtraNotes { get; set; }
public ExtraInfo ExtraInfo { get; set; }
}
Expand Down
5 changes: 5 additions & 0 deletions src/CAServer.HttpApi/Controllers/CAVerifierController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ public async Task<VerifierServerResponse> SendVerificationRequest([FromHeader] s
[FromHeader] string acToken,
VerifierServerInput verifierServerInput)
{
if (verifierServerInput.OperationType == OperationType.CreateCAHolder)
{
throw new UserFriendlyException("Not support email register yet.");
}

var type = verifierServerInput.OperationType;
ValidateOperationType(type);
var sendVerificationRequestInput =
Expand Down

0 comments on commit bea8c28

Please sign in to comment.