mirror of
https://github.com/grassrootseconomics/cic-custodial.git
synced 2024-11-21 22:06:47 +01:00
hotfix: gift gas correct enum for otx type
This commit is contained in:
parent
70419a9b19
commit
ec14328d49
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user