Compare commits

..
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -152,6 +152,7 @@ func (h *Handlers) createAccountNoExist(ctx context.Context, sessionId string, r
data := map[utils.DataTyp]string{
utils.DATA_TRACKING_ID: trackingId,
utils.DATA_PUBLIC_KEY: publicKey,
utils.DATA_ADDRESS: sessionId,
}
for key, value := range data {
store := h.userdataStore
@@ -532,6 +533,7 @@ func (h *Handlers) CheckAccountStatus(ctx context.Context, sym string, input []b
if err != nil {
return res, err
}
okResponse, err = h.accountService.TrackAccountStatus(ctx, string(publicKey))
if err != nil {
res.FlagSet = append(res.FlagSet, flag_api_error)
+1
View File
@@ -28,6 +28,7 @@ const (
DATA_ACTIVE_SYM
DATA_TEMPORARY_BAL
DATA_ACTIVE_BAL
DATA_ADDRESS
)
func typToBytes(typ DataTyp) []byte {