Skip to content

Commit

Permalink
add index to migrate CCTX
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Oct 11, 2023
1 parent 224c156 commit 5395b10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/crosschain/keeper/migrate_tss_funds.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ func (k Keeper) MigrateTSSFundsForChain(ctx sdk.Context, chainID int64, amount s
if !isFound {
return types.ErrUnableToGetGasPrice
}
index := fmt.Sprintf("%s-%s-%d-%s", currentTss.TssPubkey, newTss.TssPubkey, chainID, amount.String())

cctx := types.CrossChainTx{
Creator: "",
Index: "",
Index: index,
ZetaFees: sdkmath.Uint{},
RelayedMessage: fmt.Sprintf("%s:%s", common.CmdMigrateTssFunds, "Funds Migrator Admin Cmd"),
CctxStatus: &types.Status{
Expand Down

0 comments on commit 5395b10

Please sign in to comment.