diff --git a/CHANGELOG.md b/CHANGELOG.md index a52519b..9af22a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,7 +39,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) * [51](https://github.com/babylonlabs-io/btc-staker/pull/51) Use int64 for satoshi amount related values. - + +### Bug fix + +* [#57](https://github.com/babylonlabs-io/btc-staker/pull/57) Use separate go +routine to check for activation after startup + ## v0.7.1 ### Bug fix diff --git a/staker/stakerapp.go b/staker/stakerapp.go index ccdb03b..b3ff426 100644 --- a/staker/stakerapp.go +++ b/staker/stakerapp.go @@ -621,7 +621,7 @@ func (app *StakerApp) checkTransactionsStatus() error { // resume pre-approval flow if alreadyDelegated { app.wg.Add(1) - app.activateVerifiedDelegation( + go app.activateVerifiedDelegation( tx.StakingTx, tx.StakingOutputIndex, txHashCopy,