Skip to content

Commit

Permalink
fix (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
ARR552 authored May 6, 2024
1 parent 57530a6 commit 9b5e260
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion claimtxman/monitor_compressed_txs.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,13 +335,14 @@ func (tm *MonitorCompressedTxs) SendClaims(pendingTx *PendingTxs, onlyFirstOne b
auth.GasLimit = estimatedTx.Gas() + tm.gasOffset
log.Debug("New GAS: ", auth.GasLimit)
// Send claim tx
tx, err := tm.etherMan.SendCompressedClaims(tm.auth, group.DbEntry.CompressedTxData)
tx, err := tm.etherMan.SendCompressedClaims(&auth, group.DbEntry.CompressedTxData)
if err != nil {
msg := fmt.Sprintf("failed to call SMC SendCompressedClaims for group %d: %v", group.DbEntry.GroupID, err)
log.Warn(msg)
group.DbEntry.LastLog = msg
continue
}
log.Debug("Gas used: ", tx.Gas())
log.Infof("Send claim tx try: %d for group_id:%d deposits_id:%s txHash:%s", group.DbEntry.NumRetries, group.DbEntry.GroupID, group.GetTxsDepositIDString(), tx.Hash().String())
group.DbEntry.Status = ctmtypes.MonitoredTxGroupStatusClaiming
group.DbEntry.AddPendingTx(tx.Hash())
Expand Down

0 comments on commit 9b5e260

Please sign in to comment.