Skip to content

Commit

Permalink
run activation check in separate go routine after startup (#57)
Browse files Browse the repository at this point in the history
* run activation check in separate go routine after startup

* change log entry
  • Loading branch information
KonradStaniec authored Oct 14, 2024
1 parent 7ca0e2c commit cf89ae8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion staker/stakerapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cf89ae8

Please sign in to comment.