From aa989f3d877c388e966a8ff890587b090fdf1588 Mon Sep 17 00:00:00 2001 From: Gurjot Date: Thu, 16 Jan 2025 11:09:17 +0530 Subject: [PATCH] improve comments --- internal/services/watch_btc_events.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/services/watch_btc_events.go b/internal/services/watch_btc_events.go index 4b06753..dfa694d 100644 --- a/internal/services/watch_btc_events.go +++ b/internal/services/watch_btc_events.go @@ -195,7 +195,8 @@ func (s *Service) handleSpendingStakingTransaction( db.WithBtcHeight(int64(spendingHeight)), ); err != nil { if db.IsNotFoundError(err) { - // maybe the btc notifier has already identified the unbonding tx and updated the state + // maybe the babylon event processBTCDelegationUnbondedEarlyEvent is already + // processed and updated the state log.Debug(). Str("staking_tx", delegation.StakingTxHashHex). Interface("qualified_states", types.QualifiedStatesForUnbondedEarly()).