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 committed Oct 14, 2024
1 parent f256e86 commit b22fde5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## Unreleased

### Misc Improvements

* [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 b22fde5

Please sign in to comment.