From 373e202a066e49219222045c6bba561918d395c7 Mon Sep 17 00:00:00 2001 From: Gurjot Date: Wed, 13 Nov 2024 13:43:47 +0530 Subject: [PATCH] fix --- internal/services/watch_btc_events.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/services/watch_btc_events.go b/internal/services/watch_btc_events.go index 73d88fc..e5446e1 100644 --- a/internal/services/watch_btc_events.go +++ b/internal/services/watch_btc_events.go @@ -30,7 +30,7 @@ func (s *Service) watchForSpendStakingTx( var ( spendingTx *wire.MsgTx = nil - spendingInputIdx uint32 = 0 + spendingInputIdx uint32 ) select { case spendDetail := <-spendEvent.Spend: @@ -70,7 +70,7 @@ func (s *Service) watchForSpendUnbondingTx( var ( spendingTx *wire.MsgTx = nil - spendingInputIdx uint32 = 0 + spendingInputIdx uint32 ) select { case spendDetail := <-spendEvent.Spend: