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
1 changed files with 1 additions and 1 deletions

View File

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