forked from urdt/ussd
Compare commits
2 Commits
master
...
address-se
Author | SHA1 | Date | |
---|---|---|---|
4c3d90c374 | |||
4011bc18b6 |
@ -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)
|
||||
|
@ -28,6 +28,7 @@ const (
|
||||
DATA_ACTIVE_SYM
|
||||
DATA_TEMPORARY_BAL
|
||||
DATA_ACTIVE_BAL
|
||||
DATA_ADDRESS
|
||||
)
|
||||
|
||||
func typToBytes(typ DataTyp) []byte {
|
||||
|
Loading…
Reference in New Issue
Block a user