Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gusin13 committed Jan 22, 2025
1 parent 17bb071 commit 9b548b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/services/pollers.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ func (s *Service) processBTCSubscriber(ctx context.Context) error {
}

if delegation.State == types.Unbonded && delegation.UnbondingTx != nil {
// For early unbonded delegations i.e state is Unbonded and Unbonding Tx is present:
// For early unbonded delegations i.e. state is Unbonded and Unbonding Tx is present:
// 1. Staking output is already spent by the unbonding tx
// 2. Track unbonding output to detect withdrawal tx
if err := s.registerUnbondingSpendNotification(
delegation.StakingTxHashHex,
delegation.UnbondingTx.TxHex,
uint64(delegation.UnbondingTx.StartHeight),
delegation.UnbondingTx.StartHeight,
); err != nil {
log.Error().
Err(err).
Expand Down

0 comments on commit 9b548b6

Please sign in to comment.