hotfix: gift gas correct enum for otx type

This commit is contained in:
Mohamed Sohail 2023-03-06 10:06:49 +00:00
parent 70419a9b19
commit ec14328d49
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D

View File

@ -79,7 +79,7 @@ func GiftVoucherProcessor(cu *custodial.Custodial) func(context.Context, *asynq.
id, err := cu.PgStore.CreateOtx(ctx, store.OTX{ id, err := cu.PgStore.CreateOtx(ctx, store.OTX{
TrackingId: payload.TrackingId, TrackingId: payload.TrackingId,
Type: enum.ACCOUNT_REGISTER, Type: enum.GIFT_VOUCHER,
RawTx: hexutil.Encode(rawTx), RawTx: hexutil.Encode(rawTx),
TxHash: builtTx.Hash().Hex(), TxHash: builtTx.Hash().Hex(),
From: cu.SystemContainer.PublicKey, From: cu.SystemContainer.PublicKey,